Sendto :: Broad cast address and unicast addr
From: Sriram (vsrirama_at_rediffmail.com)
Date: 10/08/04
- Next message: Arkady Frenkel: "Re: Sendto :: Broad cast address and unicast addr"
- Previous message: Eugene Gershnik: "Re: What is the fastest way to transfer files between two machines"
- Next in thread: Arkady Frenkel: "Re: Sendto :: Broad cast address and unicast addr"
- Reply: Arkady Frenkel: "Re: Sendto :: Broad cast address and unicast addr"
- Messages sorted by: [ date ] [ thread ]
Date: 7 Oct 2004 21:58:19 -0700
Hi,
I am writing a small application that recieves "n" number of
addresses.
The application has to send unicast packets to unicast address and
broadcast packets to broadcast addresses.
How do i identify whether an address is a broadcast address or unicast
address.
Can i set SO_BROADCAST for all and send them.
depending on type of address, whether kernal will send appropriate
packet.
I have several subnets in my network. should i have broadcast address
for
each subnet and compare whether the given address is a broadcast addr
or unicast address and depending on that result set SO_BROADCAST
socket option
Please advice.
What will happen if i set Socket Option SO_BROADCAST and send a
unicast packet.
Regards,
Ram
- Next message: Arkady Frenkel: "Re: Sendto :: Broad cast address and unicast addr"
- Previous message: Eugene Gershnik: "Re: What is the fastest way to transfer files between two machines"
- Next in thread: Arkady Frenkel: "Re: Sendto :: Broad cast address and unicast addr"
- Reply: Arkady Frenkel: "Re: Sendto :: Broad cast address and unicast addr"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|