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

Function close_gracefully

dlib/sockets/sockets_extensions.cpp:292–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290// ----------------------------------------------------------------------------------------
291
292 void close_gracefully (
293 connection* con,
294 unsigned long timeout
295 )
296 {
297 std::unique_ptr<connection> ptr(con);
298 close_gracefully(ptr,timeout);
299 }
300
301// ----------------------------------------------------------------------------------------
302

Callers 4

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

Calls 3

shutdown_outgoingMethod · 0.80
readMethod · 0.80
resetMethod · 0.45

Tested by 2

write_threadMethod · 0.68
thread_procMethod · 0.68