Ticket #8829 (closed enhancement: fixed)
Add wxSocketBase::GetSocket() returning socket descriptor
|Reported by:||botg||Owned by:|
Sometimes it is necessary to have access to the socket file descriptor, e.g. for use with WSAIoctl under Windows.
To make this possible, I've added the protected function wxSocketBase::GetInternalSocket which simply returns m_socket. From there on, the program can get the file descriptor from GSocket which has everything declared public. According to tn0020.txt, this shouldn't change the ABI.
Leave this function undocumented since it should rarely be used and virtually all usage scenarios are platform specific and not portable at all.