MCPcopy 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

36namespace
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

openFunction · 0.85
acceptFunction · 0.85
readFunction · 0.85
writeFunction · 0.85
set_blockingFunction · 0.85
set_reuse_addressFunction · 0.85
set_timeoutFunction · 0.85
connectMethod · 0.85
bindMethod · 0.85
listenMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected