Difference between revisions of "SOCU:connect"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00060084] |- | 1 | Socket descriptor |- | 2 | socklen_t addrlen |- | 3 | Value 0...")
 
 
(2 intermediate revisions by the same user not shown)
Line 15: Line 15:
 
|-
 
|-
 
| 3
 
| 3
| Value 0x20
+
| Value 0x20 (processID header)
 
|-
 
|-
 
| 4
 
| 4
| Value 0x0
+
| ProcessID set by the ARM11 kernel.
 
|-
 
|-
 
| 5
 
| 5
Line 38: Line 38:
 
| 1
 
| 1
 
| Result code
 
| Result code
 +
|-
 +
| 2
 +
| POSIX return value
 
|}
 
|}

Latest revision as of 22:16, 13 July 2013

Request[edit]

Index Word Description
0 Header code [0x00060084]
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