MCPcopy Create free account
hub / github.com/davisking/dlib / ~connection

Method ~connection

dlib/sockets/sockets_kernel_1.cpp:281–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279// ----------------------------------------------------------------------------------------
280
281 connection::
282 ~connection (
283 )
284 {
285 if (connection_socket != INVALID_SOCKET)
286 closesocket(connection_socket);
287 delete &connection_socket;
288 }
289
290// ----------------------------------------------------------------------------------------
291

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected