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

Method Connect

LibLemon/src/ipc/interfaceuds.cpp:45–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 }
44
45 void MessageClient::Connect(sockaddr_un& address, socklen_t len){
46 int e = connect(sock.fd, (sockaddr*)&address, len);
47
48 if(e){
49 close(sock.fd);
50 perror("Connect: ");
51 assert(!e);
52 }
53 }
54
55 std::shared_ptr<LemonMessageInfo> MessageServer::Poll(){
56 retry:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected