mirror of
https://github.com/ctruLua/ctruLua.git
synced 2025-10-27 16:39:29 +00:00
ADDED SOCKETS ! Added ROMFS support (maybe), Improved the news library, added a VBLank waiting function
Sockets are only very buggy/unstable TCP clients, but working. The library was written from scratch.
This commit is contained in:
parent
dcdeec6525
commit
8500bcb8fa
7 changed files with 222 additions and 16 deletions
|
|
@ -103,6 +103,7 @@ Receive some data from the IR module.
|
|||
@function receive
|
||||
@tparam[opt=buffer size] number size bytes to receive
|
||||
@tparam[opt=false] boolean wait wait until the data is received
|
||||
@return string data
|
||||
*/
|
||||
static int ir_receive(lua_State *L) {
|
||||
u32 size = luaL_optinteger(L, 1, bufferSize);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue