| 158 | } |
| 159 | |
| 160 | void Socket::cleanUp() throw(SocketException) { |
| 161 | #ifdef WIN32 |
| 162 | if (WSACleanup() != 0) { |
| 163 | throw SocketException("WSACleanup() failed"); |
| 164 | } |
| 165 | #endif |
| 166 | } |
| 167 | |
| 168 | unsigned short Socket::resolveService(const string &service, |
| 169 | const string &protocol) { |
nothing calls this directly
no test coverage detected