SOCU:gethostbyaddr

From 3dbrew
Revision as of 14:28, 16 August 2015 by Megazig (talk | contribs) (Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x000E00C2] |- | 1 | Input address buffer size. |- | 2 | Type (should be AF_INET) ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request

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