Difference between revisions of "SOCU:getsockopt"
Jump to navigation
Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00110102] |- | 1 | Socket descriptor |- | 2 | int level (SOL_SOCKET=0xffff) |- |...") |
(No difference)
|
Latest revision as of 05:06, 28 April 2014
Request[edit]
Index Word | Description |
---|---|
0 | Header code [0x00110102] |
1 | Socket descriptor |
2 | int level (SOL_SOCKET=0xffff) |
3 | int optname |
4 | socklen_t optlen |
5 | Value 0x20 (processID header) |
6 | ProcessID set by the ARM11 kernel. |
The following is located 0x100-bytes after the beginning of the above command buffer:
Index Word | Description |
---|---|
0 | (optlen<<14) | 2 |
1 | Pointer to the output optval buffer. |
Response[edit]
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
2 | POSIX return value |
3 | Output optlen |