SOCU:bind

From 3dbrew
Revision as of 20:46, 13 July 2013 by Yellows8 (talk | contribs)
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [0x00050084]
1 Socket descriptor
2 socklen_t addrlen
3 Value 0x20 (processID header)
4 ProcessID set by the ARM11 kernel.
5 (addrlen<<14) | 2
6 Pointer to input sockaddr structure

Response

Index Word Description
0 Header code
1 Result code (always zero)
2 POSIX return value