MCPcopy Create free account
hub / github.com/ReadyTalk/avian / last_socket_error

Function last_socket_error

classpath/sockets.cpp:22–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20namespace sockets {
21
22int last_socket_error()
23{
24#ifdef PLATFORM_WINDOWS
25 int error = WSAGetLastError();
26#else
27 int error = errno;
28#endif
29 return error;
30}
31
32void init(JNIEnv* ONLY_ON_WINDOWS(e))
33{

Callers 10

createFunction · 0.85
connectFunction · 0.85
bindFunction · 0.85
acceptFunction · 0.85
sendFunction · 0.85
recvFunction · 0.85
abortFunction · 0.85
closeFunction · 0.85
close_inputFunction · 0.85
close_outputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected