| 12 | #pragma comment(lib, "AdvApi32.lib") |
| 13 | |
| 14 | SocketClientTCP::SocketClientTCP (const char *ip_addr, int port) |
| 15 | { |
| 16 | strcpy (this->ip_addr, ip_addr); |
| 17 | this->port = port; |
| 18 | connect_socket = INVALID_SOCKET; |
| 19 | memset (&socket_addr, 0, sizeof (socket_addr)); |
| 20 | wsa_initialized = false; |
| 21 | } |
| 22 | |
| 23 | int SocketClientTCP::connect () |
| 24 | { |
nothing calls this directly
no outgoing calls
no test coverage detected