Difference between revisions of "SOCU:sendto other"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00090106] |- | 1 | Socket descriptor |- | 2 | size_t len |- | 3 | int flags |- |...")
 
 
(One intermediate revision by the same user not shown)
Line 49: Line 49:
 
|-
 
|-
 
| 1
 
| 1
| Result code (zero for success)
+
| Result code
 
|-
 
|-
 
| 2
 
| 2
| Total sent data
+
| POSIX return value
 
|}
 
|}
  
 
=Description=
 
=Description=
 
This is the same as [[SOCU:sendto]], except for the "(insize<<X) | val" headers.
 
This is the same as [[SOCU:sendto]], except for the "(insize<<X) | val" headers.

Latest revision as of 21:14, 13 July 2013

Request[edit]

Index Word Description
0 Header code [0x00090106]
1 Socket descriptor
2 size_t len
3 int flags
4 socklen_t addrlen
5 Value 0x20 (processID header)
6 ProcessID set by the ARM11 kernel.
7 (addrlen<<14) | 0x402
8 Pointer to input dest_addr structure (must be a valid address, even when unused)
9 (len<<4) | 10
10 Pointer to input buf

Response[edit]

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

Description[edit]

This is the same as SOCU:sendto, except for the "(insize<<X) | val" headers.