MCPcopy Create free account
hub / github.com/cppla/ServerStatus / net_tcp_connect_non_blocking

Function net_tcp_connect_non_blocking

server/src/system.c:1232–1241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1230}
1231
1232int net_tcp_connect_non_blocking(NETSOCKET sock, NETADDR bindaddr)
1233{
1234 int res = 0;
1235
1236 net_set_non_blocking(sock);
1237 res = net_tcp_connect(sock, &bindaddr);
1238 net_set_blocking(sock);
1239
1240 return res;
1241}
1242
1243int net_tcp_send(NETSOCKET sock, const void *data, int size)
1244{

Callers

nothing calls this directly

Calls 3

net_set_non_blockingFunction · 0.85
net_tcp_connectFunction · 0.85
net_set_blockingFunction · 0.85

Tested by

no test coverage detected