MCPcopy Create free account
hub / github.com/ddnet/ddnet / net_tcp_connect_non_blocking

Function net_tcp_connect_non_blocking

src/base/net.cpp:1331–1337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1329}
1330
1331int net_tcp_connect_non_blocking(NETSOCKET sock, NETADDR bindaddr)
1332{
1333 net_set_non_blocking(sock);
1334 int res = net_tcp_connect(sock, &bindaddr);
1335 net_set_blocking(sock);
1336 return res;
1337}
1338
1339int net_tcp_send(NETSOCKET sock, const void *data, int size)
1340{

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