Revert re-usage of connect and listen ports

[ROCm/rccl commit: 12ac20ade5]
이 커밋은 다음에 포함됨:
BertanDogancay
2024-02-01 10:03:13 -08:00
부모 ef57c82b60
커밋 b17f5947ba
3개의 변경된 파일과 6개의 추가작업 그리고 65개의 파일을 삭제
+1 -1
파일 보기
@@ -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.