INADD_NONE:<repeater port> based UDP "disconnect"
This commit is contained in:
1 parent
4fee01b0c7
commit
77a023dc39
1 file changed
+1
-1
@@ -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 ) {
|
||||
|
||||
Reference in new issue
Block a user