Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Scobalula/Greyhound
/ HandleToSocket
Function
HandleToSocket
src/External/CascLib/src/common/Sockets.cpp:34–37 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
32
// Conversion functions
33
34
static SOCKET inline HandleToSocket(HANDLE sock)
35
{
36
return (SOCKET)(intptr_t)(sock);
37
}
38
39
static HANDLE inline SocketToHandle(SOCKET sock)
40
{
Callers
4
ReadResponse
Method · 0.85
ReconnectAfterShutdown
Method · 0.85
Connect
Method · 0.85
Delete
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected