MCPcopy Create free account
hub / github.com/davisking/dlib / close_gracefully

Function close_gracefully

dlib/sockets/sockets_extensions.cpp:310–317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308// ----------------------------------------------------------------------------------------
309
310 void close_gracefully (
311 connection* con,
312 unsigned long timeout
313 )
314 {
315 std::unique_ptr<connection> ptr(con);
316 close_gracefully(ptr,timeout);
317 }
318
319// ----------------------------------------------------------------------------------------
320

Callers 4

write_threadMethod · 0.85
thread_procMethod · 0.85
service_connectionMethod · 0.85
mainFunction · 0.85

Calls 3

shutdown_outgoingMethod · 0.80
resetMethod · 0.45
readMethod · 0.45

Tested by 2

write_threadMethod · 0.68
thread_procMethod · 0.68