SOCU:SendToMultiple

Revision as of 18:10, 20 January 2024 by TimmSkiller (talk | contribs) (addrinfo -> sockaddr)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

RequestEdit

Index Word Description
0 Header code [0x00200146]
1 Socket descriptor
2 size_t input buf len
3 int flags
4 socklen_t addrlen
5 input sockaddr buffer size
6 Value 0x20 (processID header)
7 ProcessID set by the ARM11 kernel.
8 (input buf len<<14) | 0x3002
9 Pointer to input buf
10 (input sockaddr buffer size<<14) | 0x3402
11 Pointer to input dest_addr structures

ResponseEdit

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

DescriptionEdit

This is the same as SOCU:sendto, but instead of one sockaddr being passed in, multiple are allowed. As with SOCU:sendto, the total input data size is limited to 0x2000. In FRD module, the input data must not be greater than 0x1E00 and the sockaddr buffer size must not exceed 0x200.