This method retrieves the current value for an option associated with the socket.
| Header file: | Afxsock.h |
| Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
| Windows CE versions: | 2.0 and later |
| Complete documentation: | Visual C++ documentation |
BOOL GetSockOpt( int nOptionName, void* lpOptionValue, int* lpOptionLen,
int nLevel = SOL_SOCKET );