MCPcopy Create free account
hub / github.com/dmtcp/dmtcp / createNewSocketToCoordinator

Function createNewSocketToCoordinator

src/coordinatorapi.cpp:223–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221}
222
223int
224createNewSocketToCoordinator(CoordinatorMode mode)
225{
226 string host = "";
227 int port = UNINITIALIZED_PORT;
228
229 getCoordHostAndPort(COORD_ANY, &host, &port);
230 return jalib::JClientSocket(host.c_str(), port).sockfd();
231}
232
233void init()
234{

Callers 3

createNewConnToCoordFunction · 0.85
kvdbRequestFunction · 0.85

Calls 3

getCoordHostAndPortFunction · 0.85
JClientSocketClass · 0.85
sockfdMethod · 0.80

Tested by

no test coverage detected