Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ValveSoftware/GameNetworkingSockets
/ GetSocketError
Function
GetSocketError
examples/trivial_signaling_client.cpp:27–27 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
25
constexpr SOCKET INVALID_SOCKET = -1;
26
inline void closesocket( SOCKET s ) { close(s); }
27
inline int GetSocketError() { return errno; }
28
inline bool IgnoreSocketError( int e )
29
{
30
return e == EAGAIN || e == ENOTCONN || e == EWOULDBLOCK;
Callers
2
Connect
Method · 0.85
Poll
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected