Difference between revisions of "SOCU:bind"

From 3dbrew
Jump to navigation Jump to search
 
Line 37: Line 37:
 
|-
 
|-
 
| 1
 
| 1
| Result code (always zero)
+
| Result code
 
|-
 
|-
 
| 2
 
| 2
 
| POSIX return value
 
| POSIX return value
 
|}
 
|}

Latest revision as of 22:16, 13 July 2013

Request[edit]

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[edit]

Index Word Description
0 Header code
1 Result code
2 POSIX return value