From 77a023dc39f3d87e892b29b041f6c07ad0131f06 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Mon, 7 Nov 2005 17:11:35 +0000 Subject: [PATCH] INADD_NONE: based UDP "disconnect" --- src/rsrv/online_notify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rsrv/online_notify.c b/src/rsrv/online_notify.c index 0cfc596e1..4f57a9254 100644 --- a/src/rsrv/online_notify.c +++ b/src/rsrv/online_notify.c @@ -272,7 +272,7 @@ void rsrv_online_notify_task(void *pParm) memset ( &sockAddr, 0, sizeof ( sockAddr ) ); sockAddr.ia.sin_family = AF_INET; sockAddr.ia.sin_addr.s_addr = INADDR_NONE; - sockAddr.ia.sin_port = htons ( 0 ); + sockAddr.ia.sin_port = htons ( port ); status = connect ( sock, & sockAddr.sa, sizeof ( sockAddr.sa ) ); if ( status < 0 ) {