| 137 | { |
| 138 | public: |
| 139 | NetConnection( const SOCKET& tcp_socket, const SOCKET& udp_socket, const sockaddr_in& destination_udp_address ) |
| 140 | : tcp_socket_( tcp_socket ) |
| 141 | , udp_socket_( udp_socket ) |
| 142 | , destination_udp_address_( destination_udp_address ) |
| 143 | { |
| 144 | // TEST - use nonblocking sockets. |
| 145 | //u_long socket_mode= 1; |
| 146 | //::ioctlsocket( tcp_socket_, FIONBIO, &socket_mode ); |
| 147 | //::ioctlsocket( udp_socket_, FIONBIO, &socket_mode ); |
| 148 | } |
| 149 | |
| 150 | virtual ~NetConnection() override |
| 151 | { |
nothing calls this directly
no outgoing calls
no test coverage detected