Re: help/advice regarding multicasting
- From: "Arkady Frenkel" <arkadyf@xxxxxxxxxxxxxxxx>
- Date: Tue, 26 Sep 2006 16:31:58 +0300
Hi!
"kunal s patel" <kunalspatel@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F41BF9B6-2C98-4A82-B82F-28F1ECB33085@xxxxxxxxxxxxxxxx
hello sir,
Well i guess u got me wrong. firstly the solution u suggested is already
inbuilt in TCP so there is no need to add application level facility in
it.
But that in TCP , and if you want it in UDP you have to add reliability to
it.
That BTW do UPnP protocol , device multicast about itself with UDP and use
TCP for data ( XML ) transmittion.
Obviously that mostly work on LAN only
It is just waste of bandwidth and also my application is not restricted toIf not multicasting ( no broadcast in IPv6 ) , device/machine have to
single LAN. I guess i will just reframe my question for you
register itself in server/service .
Look at UDDI as example of such
Arkady
"On a large network, i want to find the machines(specifically ip
addresses)
which are running my service"
How do i achieve this????
Sorry for the earlier confusion
Thanks
kunal s patel
"Arkady Frenkel" wrote:
If you send your data with some header including send ID ( encremental
number e.g ) you just know what client have to ask if it didn't receive
some
packet at the end, a lot of system services used UDP and that work for
LAN
pretty nice
Arkady
"kunal s patel" <kunalspatel@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:6A2136FE-B727-4B89-83B3-156231D86E60@xxxxxxxxxxxxxxxx
Sir,
I didnt get you. Firstly UDP is not a reliable data delivery protocol
so
the
sender will not know which packets are drop. In that case only way out
is
to
retransmit the whole file again.
thanks
kunal
"Arkady Frenkel" wrote:
IMHO you can use UDP only too, if you use LAN. For packet drops you
can
retransmit it as TCP do. OTOH you can listen for IP equal 0 (
ADDR_ANY )
which mean to listen for all IPs you have on the host
Arkady
"kunal s patel" <kunalspatel@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message
news:67C19872-BD80-450F-9FB6-EF1F9D281F3B@xxxxxxxxxxxxxxxx
Hi all,
I am developing a P2P system for distributing files in the
network(basically
it is windows service). Now initially when i start my application, i
need
it
to detect all PC's that are running the service(since all may not be
running
it). Now one way to do it is by multicast. I will multicast a sort
of
hello
packet and all the PC's that will catch that packet will join the
multicast
group to announce its presence.
Now my problem is that since multicast runs only on UDP, detecting
functionality is fine with it but i cannot use it for distributing
the
file
since receiver may or may not receive all the packets of the file.
So i
thought of running the application that will listen on 2 ip
addresses
and
2
different ports(its own ip address and a multicast address). The
idea
is
to
detect pc's using multicast address and send file using reliable TCP
connection
Now my question is can i do the above thing....using 2 bind() in
same
application and is there a easier way of doing the above task
without
all
this hassle
thanks
kunal
.
- References:
- Re: help/advice regarding multicasting
- From: Arkady Frenkel
- Re: help/advice regarding multicasting
- From: Arkady Frenkel
- Re: help/advice regarding multicasting
- From: kunal s patel
- Re: help/advice regarding multicasting
- Prev by Date: Multicast, add membership when link down
- Next by Date: Re: Change IP without Delay
- Previous by thread: Re: help/advice regarding multicasting
- Next by thread: Where to start in writing a socket server?
- Index(es):
Relevant Pages
|