TTL Question. Don't understand the boundaries.
From: AliR (AliR_at_newsgroup.nospam)
Date: 02/25/05
- Next message: NeilL: "Including http.h in Visual C++ 6"
- Previous message: Hal: "Re: Packet Analyzing (getting source application)"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 25 Feb 2005 16:34:52 GMT
I am just venturing into UPD sockets, and Multicast. I have read a couple
of books both about UDP and Multicast, but I can't get a straight answer on
what I should set my ttl to.
Here is what I am doing. I have a server application, that listens on a
specific port for UDP messages asking it its location. So the client
application broadcast a message and once the server receives the message it
sends a reply directly to the client that asked the question.
Let's say that I work for a company that has 2 buildings and I want to run
one server per building, how do I keep the broadcast messages of the client
apps from building one to make their way to build 2's server application?
Later I from multicast groups between groups of clients in a particular
network. What happens is that a client which is hosting a session asks the
server for an available multicast addresss, and the server returns an
address from 224.1.10.0 to 224.1.255.255. Now I have two servers in two
building with two multicast groups, one each building, which have the
address 224.1.10.0, how do I keep the messages sent by one group not to
cross over to the group in the second building?
Is this even an issue, or am I making up problems for myself?
I appreciate any advice.
AliR.
- Next message: NeilL: "Including http.h in Visual C++ 6"
- Previous message: Hal: "Re: Packet Analyzing (getting source application)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|