| 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: |
nothing calls this directly
no outgoing calls
no test coverage detected