MCPcopy Create free account
hub / github.com/chen3feng/toft / CheckError

Method CheckError

system/net/socket.cpp:172–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170}
171
172bool Socket::CheckError(int result, const char* info) const
173{
174 if (result != 0)
175 {
176 ReportError(info);
177 return false;
178 }
179 return true;
180}
181
182//////////////////////////////////////////////////////////////////////////////
183// ListenerSocket members

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected