* Closes the socket. */
| 68 | * Closes the socket. |
| 69 | */ |
| 70 | void Socket::Close() |
| 71 | { |
| 72 | ObjectLock olock(this); |
| 73 | |
| 74 | if (m_FD != INVALID_SOCKET) { |
| 75 | closesocket(m_FD); |
| 76 | m_FD = INVALID_SOCKET; |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | /** |
| 81 | * Retrieves the last error that occurred for the socket. |
nothing calls this directly
no outgoing calls
no test coverage detected