MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / ~Socket

Method ~Socket

Kernel/src/net/socket.cpp:39–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39Socket::~Socket(){
40 if(bound){
41 SocketManager::DestroySocket(this);
42 }
43}
44
45Socket* Socket::Accept(sockaddr* addr, socklen_t* addrlen){
46 return Accept(addr, addrlen, 0);

Callers

nothing calls this directly

Calls 1

DestroySocketFunction · 0.85

Tested by

no test coverage detected