Re: UDP Broadcast on machine with multiple NIC cards
From: Phil Frisbie, Jr. (phil_at_hawksoft.com)
Date: 09/30/04
- Next message: Peter Bergmann: "Re: NetWkstaGetInfo: distinguish workgroup from smb domain name"
- Previous message: joe: "Re: UDP Broadcast on machine with multiple NIC cards"
- Maybe in reply to: joe: "Re: UDP Broadcast on machine with multiple NIC cards"
- Next in thread: joe: "Re: UDP Broadcast on machine with multiple NIC cards"
- Reply: joe: "Re: UDP Broadcast on machine with multiple NIC cards"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 30 Sep 2004 09:17:24 -0700
joe wrote:
> Hi,
>
> I need to send a broadcast to the private LAN in a workstation that has
> multiple NIC cards.
>
> When I send a UDP packet to INADDR_BROADCAST which is defined as
> "255.255.255.255", the packet is broadcast to all NIC's in the workstation.
>
> My question is - how do I restrict the broadcast to a specific Interface,
> yet still use 255.255.255.255 as the destination?
When you bind the UDP socket to an IP/port do you use INADDR_ANY or the actual
address for the interface?
-- Phil Frisbie, Jr. Hawk Software http://www.hawksoft.com
- Next message: Peter Bergmann: "Re: NetWkstaGetInfo: distinguish workgroup from smb domain name"
- Previous message: joe: "Re: UDP Broadcast on machine with multiple NIC cards"
- Maybe in reply to: joe: "Re: UDP Broadcast on machine with multiple NIC cards"
- Next in thread: joe: "Re: UDP Broadcast on machine with multiple NIC cards"
- Reply: joe: "Re: UDP Broadcast on machine with multiple NIC cards"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|