MCPcopy Create free account
hub / github.com/crossuo/crossuo / socket_fd

Function socket_fd

src/Sockets.cpp:87–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85
86template <class T>
87inline static SOCKET socket_fd(T socket)
88{
89 assert(socket && *(int *)socket != INVALID_SOCKET);
90 return *(SOCKET *)socket;
91}
92
93uint32_t socket_localaddress()
94{

Callers 7

tcp_connectFunction · 0.85
tcp_selectFunction · 0.85
tcp_recvFunction · 0.85
tcp_sendFunction · 0.85
tcp_closeFunction · 0.85
icmp_queryFunction · 0.85
icmp_closeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected