MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / MTCPServer

Method MTCPServer

sourcecommon/tcpserv.cpp:249–256  ·  view source on GitHub ↗

WORD MTCPServer::localport = 10000; ---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

247//WORD MTCPServer::localport = 10000;
248//---------------------------------------------------------------------------
249MTCPServer::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/*---------------------------------------------------------------------------
258MTCPServer::MTCPServer(char * dest, WORD port, bool enableExceptions)
259 : Exceptions( enableExceptions ) // handle(NULL), Connected(false), Error(0),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected