2
0

Revert re-usage of connect and listen ports

[ROCm/rccl commit: 12ac20ade5]
Este cometimento está contido em:
BertanDogancay
2024-02-01 10:03:13 -08:00
ascendente ef57c82b60
cometimento b17f5947ba
3 ficheiros modificados com 6 adições e 65 eliminações
+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.