Category: windows

How to receive ip multicast, using only one NIC

I have server with multiple NICs, running windows server 2003. My application receive multicast packets, but now i need to receive multicast packets just from one single network interface. I think this can help, but i have some questions. ip_mreq mreq; mreq.imr_multiaddr.s_addr = multicast group address mreq.imr_interface.s_addr= network interface address if (setsockopt( socet , IPPROTO_IP […]