Difference between revisions of "SOCU:gethostbyaddr"
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) ...") |
m |
||
Line 36: | Line 36: | ||
| Pointer to output buf | | Pointer to output buf | ||
|} | |} | ||
+ | |||
+ | =Response= | ||
+ | {| class="wikitable" border="1" | ||
+ | |- | ||
+ | ! Index Word | ||
+ | ! Description | ||
+ | |- | ||
+ | | 0 | ||
+ | | Header code | ||
+ | |- | ||
+ | | 1 | ||
+ | | Result code | ||
+ | |- | ||
+ | | 2 | ||
+ | | POSIX return value | ||
+ | |} | ||
+ | |||
+ | =Description= | ||
+ | It's currently unknown how the output buffer is converted into a hostent struct. |
Revision as of 14:33, 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 |
Response
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
2 | POSIX return value |
Description
It's currently unknown how the output buffer is converted into a hostent struct.