SOCU:GetNetworkOpt

SOCU:GetNetworkOpt

Request #

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

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

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

Response #

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

Description #

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