Validates that the [[#GetRole|role]] is non-zero, then copies the struct from state into the output buffer.
Validates that the [[#GetRole|role]] is non-zero, then copies the struct from state into the output buffer.
−
+0x20 is the <code>struct sockaddr_in</code> IP address, +0x40 is the <code>struct sockaddr_in</code> subnet-mask, +0x60 is the <code>struct sockaddr_in</code> gateway(?). The address for the last one is set to localhost.
+
+0x20 is the <code>struct sockaddr</code> IP address, +0x40 is the <code>struct sockaddr</code> subnet-mask, +0x60 is the <code>struct sockaddr</code> gateway(?). The address for the last one is set to localhost.
=== Leave ===
=== Leave ===
Line 1,185:
Line 1,185:
! Description
! Description
|-
|-
−
| 0x0 || 0x10 || <code>struct sockaddr_in</code> for the IP address.
+
| 0x0 || || <code>struct sockaddr</code> for the IP address.