SOCU:GetNetworkOpt

Revision as of 17:27, 1 May 2014 by Yellows8 (talk | contribs) (→‎Request)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

RequestEdit

Index Word Description
0 Header code [0x001A00C0]
1 int level (Must be value 0xfffe, otherwise an error is returned)
2 int optname
3 socklen_t optlen

The following is located 0x100-bytes after the beginning of the above command buffer:

Index Word Description
0 (optlen<<14) | 2
1 Pointer to the output optval buffer.

ResponseEdit

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

DescriptionEdit

This seems to be similar to Wii sockets GetInterfaceOpt?(same optnames / optvals, for optname 0x4003, etc)