MCPcopy Create free account
hub / github.com/Panzerschrek/Chasm-Reverse / NetConnection

Method NetConnection

PanzerChasm/net/net.cpp:139–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137{
138public:
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 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected