MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / ~KNativeSocketObject

Method ~KNativeSocketObject

source/kernel/knativesocket.cpp:424–437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

422}
423
424KNativeSocketObject::~KNativeSocketObject() {
425 LOG_SOCK("native socket: %x close", nativeSocket);
426 closesocket(this->nativeSocket);
427 removeWaitingSocket(this->nativeSocket);
428 this->nativeSocket = 0;
429 {
430 BOXEDWINE_CRITICAL_SECTION_WITH_CONDITION(this->readingCond);
431 BOXEDWINE_CONDITION_SIGNAL_ALL(this->readingCond);
432 }
433 {
434 BOXEDWINE_CRITICAL_SECTION_WITH_CONDITION(this->writingCond);
435 BOXEDWINE_CONDITION_SIGNAL_ALL(this->writingCond);
436 }
437}
438
439#ifdef WIN32
440PIP_ADAPTER_ADDRESSES getAdapterAddresses() {

Callers

nothing calls this directly

Calls 2

closesocketFunction · 0.85
removeWaitingSocketFunction · 0.85

Tested by

no test coverage detected