Sockets/Sockets.cpp
SocketSystem::SocketSystem()
{
  int iResult = WSAStartup(MAKEWORD(2, 2), &wsaData);
  if (iResult != 0) {
    Show::write("\n  WSAStartup failed with error = " + Conv<int>::toString(iResult));
  }
}
//----< constructor starts up sockets by loading winsock lib >---------------
< constructor starts up sockets by loading winsock lib >
< constructor starts up sockets by loading winsock lib >
SocketSystem::SocketSystem()
{
  int iResult = WSAStartup(MAKEWORD(2, 2), &wsaData);
  if (iResult != 0) {
    Show::write("\n  WSAStartup failed with error = " + Conv<int>::toString(iResult));
  }
}
SocketSystem :: SocketSystem ( ) { int iResult = WSAStartup ( MAKEWORD ( 2 , 2 ) , & wsaData ) ; if ( iResult != 0 ) { Show :: write ( " \n " + Conv < int > :: toString ( iResult ) ) ; } }
< constructor starts up sockets by loading winsock lib >
< constructor starts up sockets by loading winsock lib >