MCPcopy Create free account
hub / github.com/MonaSolutions/MonaServer / shutdown

Method shutdown

MonaBase/sources/Socket.cpp:285–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283
284
285 void shutdown(Exception& ex,Socket::ShutdownType type) {
286 ASSERT(_initialized)
287 if (::shutdown(_sockfd, type) != 0)
288 Net::SetException(ex, Net::LastError()," (type=",type,")");
289 }
290
291
292 int sendBytes(Exception& ex, const void* buffer, int length, int flags) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected