MCPcopy 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
96void
97doAccept(int &acceptSock, int listenSock)
98{
99 assert((acceptSock = accept(listenSock, NULL, NULL)) > 0);
100}
101
102void
103doConnect(int &connectSock, hostent *host, int port, const char *hostname)

Callers 1

mainFunction · 0.85

Calls 1

acceptFunction · 0.50

Tested by

no test coverage detected