Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
641
int net_errno()
642
{
643
#if defined(CONF_FAMILY_WINDOWS)
644
return WSAGetLastError();
645
#else
646
return errno;
647
#endif
648
}
649
650
std::string net_error_message()
651
{
Callers
2
net_error_message
Function · 0.85
net_would_block
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected