WORD MTCPServer::localport = 10000; ---------------------------------------------------------------------------
| 247 | //WORD MTCPServer::localport = 10000; |
| 248 | //--------------------------------------------------------------------------- |
| 249 | MTCPServer::MTCPServer(bool enableExceptions) |
| 250 | : MSocket(NULL, enableExceptions) |
| 251 | { |
| 252 | WSADATA WsaData; |
| 253 | Error = WSAStartup(MAKEWORD(2,0), &WsaData); |
| 254 | errcode = WSAGetLastError(); |
| 255 | if( Exceptions && Error ) throw 0; |
| 256 | } |
| 257 | /*--------------------------------------------------------------------------- |
| 258 | MTCPServer::MTCPServer(char * dest, WORD port, bool enableExceptions) |
| 259 | : Exceptions( enableExceptions ) // handle(NULL), Connected(false), Error(0), |
nothing calls this directly
no outgoing calls
no test coverage detected