Browse Source

Change JackNetWinSocket::SetLocalLoop behaviour, fixing the "client not disconnected bug".

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3403 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/1.9.2
sletz 16 years ago
parent
commit
6addb70f28
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      windows/JackNetWinSocket.cpp

+ 7
- 1
windows/JackNetWinSocket.cpp View File

@@ -286,7 +286,13 @@ namespace Jack
//local loop*********************************************************************************************************
int JackNetWinSocket::SetLocalLoop()
{
char disable = 0;
//char disable = 0;
/*
see http://msdn.microsoft.com/en-us/library/aa916098.aspx
Default value is TRUE. When TRUE, data that is sent from the local interface to the multicast group to
which the socket is joined, including data sent from the same socket, will be echoed to its receive buffer.
*/
char disable = 1;
return SetOption ( IPPROTO_IP, IP_MULTICAST_LOOP, &disable, sizeof ( disable ) );
}



Loading…
Cancel
Save