MCPcopy Create free account
hub / github.com/Tencent/Hardcoder / notifyError

Method notifyError

libapp2sys/src/main/cpp/localsocket.h:109–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107 }
108
109 void notifyError(int recvFd) {
110 if (recvFd == m_fd) { //client
111 recvEvent(EVENT_ERROR, recvFd, 0, 0, NULL, NULL, 0);
112 return;
113 }
114 recvEvent(EVENT_ERROR, recvFd, 0, mapUid[recvFd].first, mapUid[recvFd].second.c_str(), NULL, 0);
115 close(recvFd);
116 }
117
118 // #lizard forgives
119 int loop(const int isServer) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected