MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / LocalSocket

Method LocalSocket

Kernel/src/net/socket.cpp:128–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128LocalSocket::LocalSocket(int type, int protocol) : Socket(type, protocol){
129 domain = UnixDomain;
130 flags = FS_NODE_SOCKET;
131
132 assert(type == StreamSocket || type == DatagramSocket);
133}
134
135int LocalSocket::ConnectTo(Socket* client){
136 assert(passive);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected