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

Method shutdown

dlib/sockets/sockets_kernel_2.h:185–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183 }
184
185 int shutdown (
186 )
187 {
188 sd_mutex.lock();
189 if (sd)
190 {
191 sd_mutex.unlock();
192 return sdr;
193 }
194 sd = true;
195 sdr = ::shutdown(connection_socket,SHUT_RDWR);
196 int temp = sdr;
197 sd_mutex.unlock();
198 return temp;
199 }
200
201 int disable_nagle(
202 );

Callers 9

~impl_bridgeMethod · 0.45
receive_threadMethod · 0.45
transmit_threadMethod · 0.45
~bsp_contextMethod · 0.45
clearMethod · 0.45
linkMethod · 0.45
service_connectionMethod · 0.45
clearMethod · 0.45
shutdown_connectionMethod · 0.45

Calls 2

lockMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected