Revert re-usage of connect and listen ports

Este cometimento está contido em:
BertanDogancay cometeu 2024-02-01 10:03:13 -08:00
1 ascendente 00fdb1ef51
cometimento 12ac20ade5
3 ficheiros modificados
+6 -65

Não existem ficheiros que correspondam à sua pesquisa

+1 -1
Ver ficheiro
@@ -77,7 +77,7 @@ ncclResult_t ncclSocketInit(struct ncclSocket* sock, union ncclSocketAddress* ad
ncclResult_t ncclSocketListen(struct ncclSocket* sock);
ncclResult_t ncclSocketGetAddr(struct ncclSocket* sock, union ncclSocketAddress* addr);
// Connect to sock->addr. sock->fd is set after a successful call.
ncclResult_t ncclSocketConnect(struct ncclSocket* sock, int portReuse = 0);
ncclResult_t ncclSocketConnect(struct ncclSocket* sock);
// Return socket connection state.
ncclResult_t ncclSocketReady(struct ncclSocket* sock, int *running);
// Accept an incoming connection from listenSock->fd and keep the file descriptor in sock->fd, with the remote side IP/port in sock->addr.