MCPcopy Create free account
hub / github.com/ddnet/ddnet / net_errno

Function net_errno

src/base/net.cpp:641–648  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

639}
640
641int net_errno()
642{
643#if defined(CONF_FAMILY_WINDOWS)
644 return WSAGetLastError();
645#else
646 return errno;
647#endif
648}
649
650std::string net_error_message()
651{

Callers 2

net_error_messageFunction · 0.85
net_would_blockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected