Detecting which networking interface received a UDP multicast packet.
From: MC (anonymous_at_discussions.microsoft.com)
Date: 04/28/04
- Previous message: Scott St.Clair: "Rpc Authentication with Server in a Workgroup"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 27 Apr 2004 17:16:05 -0700
Hi,
I need to detect which networking interface a UDP multicast packet is being heard over on Win2000 and WinXP.
So, for example, you have 2 wireless network cards and also a wired interface. We are listening for UDP multicast packets being sent over all of these and need to determine which of these interfaces on which the packet arrived.
I am trying to use WSARecvMsg() to retrieve the interface on which the packet was received. However, WSARecvMsg() returns SOCKET_ERROR and WSAGetLastError() returns WSAEOPNOTSUPP.
Can someone explain to me how to setup WSARecvMsg() correctly?
Thanks,
MC
- Previous message: Scott St.Clair: "Rpc Authentication with Server in a Workgroup"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|