Sockets/Sockets.cpp
Socket::Socket(IpVer ipver) : ipver_(ipver)
{
  ZeroMemory(&hints, sizeof(hints));
  hints.ai_family = AF_UNSPEC;
  hints.ai_socktype = SOCK_STREAM;
  hints.ai_protocol = IPPROTO_TCP;
}
//----< constructor sets TCP protocol and Stream mode >----------------------
< constructor sets TCP protocol and Stream mode >
< constructor sets TCP protocol and Stream mode >
Socket::Socket(IpVer ipver) : ipver_(ipver)
{
  ZeroMemory(&hints, sizeof(hints));
  hints.ai_family = AF_UNSPEC;
  hints.ai_socktype = SOCK_STREAM;
  hints.ai_protocol = IPPROTO_TCP;
}
Socket :: Socket ( IpVer ipver ) : ipver_ ( ipver ) { ZeroMemory ( & hints , sizeof ( hints ) ) ; hints . ai_family = AF_UNSPEC ; hints . ai_socktype = SOCK_STREAM ; hints . ai_protocol = IPPROTO_TCP ; }
< constructor sets TCP protocol and Stream mode >
< constructor sets TCP protocol and Stream mode >