Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LemonOSProject/LemonOS
/ Socket
Method
Socket
Kernel/src/net/socket.cpp:34–37 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
32
}
33
34
Socket::Socket(int type, int protocol){
35
this->type = type;
36
flags = FS_NODE_SOCKET;
37
}
38
39
Socket::~Socket(){
40
if(bound){
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected