Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dmtcp/dmtcp
/ doAccept
Function
doAccept
test/frisbee.cpp:96–100 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
94
}
95
96
void
97
doAccept(int &acceptSock, int listenSock)
98
{
99
assert((acceptSock = accept(listenSock, NULL, NULL)) > 0);
100
}
101
102
void
103
doConnect(int &connectSock, hostent *host, int port, const char *hostname)
Callers
1
main
Function · 0.85
Calls
1
accept
Function · 0.50
Tested by
no test coverage detected