In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Changes

Jump to navigation Jump to search
92 bytes added ,  20:58, 13 September 2015
m
→‎0x04 - connect(): Include a struct for the Wii U socket address
Line 3: Line 3:  
==ioctl() interface==
 
==ioctl() interface==
 
===0x04 - connect()===
 
===0x04 - connect()===
This function is used to connect a socket to a remote host. Its input is a 24-byte buffer containing: the 32-bit socket descriptor, a 16-byte socket address structure, and the 32-bit length of the structure (0x10 bytes). No output is produced by IOSU.
+
This function is used to connect a socket to a remote host. Its input is a 24-byte buffer containing: the 32-bit socket descriptor, a 16-byte socket address structure (as defined [https://github.com/wiiudev/libwiiu/blob/master/libwiiu/src/socket.h#L10 here]), and the 32-bit length of the structure (0x10 bytes). No output is produced by IOSU.
    
===0x11 - socket()===
 
===0x11 - socket()===
 
This function is used to create a new socket. Its input is a 12-byte buffer containing 32-bit values for the domain, type, and protocol of the socket, as defined by Unix. No output is produced by IOSU, except for the socket descriptor, which is returned by IOS_Ioctl().
 
This function is used to create a new socket. Its input is a 12-byte buffer containing 32-bit values for the domain, type, and protocol of the socket, as defined by Unix. No output is produced by IOSU, except for the socket descriptor, which is returned by IOS_Ioctl().
203

edits

Navigation menu