Difference between revisions of "SOCU:gethostbyaddr"

From 3dbrew
Jump to navigation Jump to search
(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) ...")
(No difference)

Revision as of 14:28, 16 August 2015

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