Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
39
Socket::~Socket(){
40
if(bound){
41
SocketManager::DestroySocket(this);
42
}
43
}
44
45
Socket* Socket::Accept(sockaddr* addr, socklen_t* addrlen){
46
return Accept(addr, addrlen, 0);
Callers
nothing calls this directly
Calls
1
DestroySocket
Function · 0.85
Tested by
no test coverage detected