Commit 2f997dfc authored by Marian Durkovic's avatar Marian Durkovic

Perform connect() for multicast sockets only on Linux and Win32

parent c51ce947
......@@ -382,8 +382,13 @@ igmpv2:
}
}
}
#if !defined (__linux__) && !defined (WIN32)
else
#endif
#endif /* !defined SYS_BEOS */
if( rem.sin_addr.s_addr != INADDR_ANY )
{
/* Connect the socket */
......
......@@ -299,6 +299,10 @@ mldv1:
}
}
#if !defined (__linux__) && !defined (WIN32)
else
#endif
if( memcmp (&rem.sin6_addr, &in6addr_any, 16) )
{
int ttl;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment