From 3dbrew
Revision as of 14:33, 16 August 2015 by Megazig (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Index Word Description
0 Header code [0x000E00C2]
1 Input address buffer size.
2 Type (should be AF_INET)
3 Output buffer size, normally 0x1A88-bytes.
4 (insize<<14) | 0x1002
5 Pointer to input address buffer

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

Index Word Description
0 (outsize<<14) | 2
1 Pointer to output buf


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


It's currently unknown how the output buffer is converted into a hostent struct.