Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crownengine/crown
/ last_error
Function
last_error
src/core/network/socket.cpp:38–45 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
36
namespace
37
{
38
inline int last_error()
39
{
40
#if CROWN_PLATFORM_WINDOWS
41
return WSAGetLastError();
42
#else
43
return errno;
44
#endif
45
}
46
47
} // namespace
48
Callers
10
open
Function · 0.85
accept
Function · 0.85
read
Function · 0.85
write
Function · 0.85
set_blocking
Function · 0.85
set_reuse_address
Function · 0.85
set_timeout
Function · 0.85
connect
Method · 0.85
bind
Method · 0.85
listen
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected