(no subject)
(no subject)
- Subject: (no subject)
- From: Mahesh Vyas <email@hidden>
- Date: Tue, 8 Apr 2003 17:17:38 +0530
Even if we set the TTL , How can it be forwarded to other simple routers as
There immediate routers should support multicasting so that increasing the
hop count will make the data packet jump to <hop count set>* routers
My aim is
When clients logs in it will send a multicast request to network searching
for the server
Server which is waiting in accept mode should get the client request
In same subnetwork it is possible but what in another subnetwork
i.e. XX.XX.22.XX can communicate with YY.YY.22.YY but not with YY.YY.23.YY
due to difference in subnetwork
Will the setting of hop count can send the request to later IP address
thanx
Message: 2
Date: Mon, 7 Apr 2003 09:41:44 -0700
Subject: Re: Setting of Hop Count
From: Justin Walker <email@hidden>
To: email@hidden
Your question is not very clear to me. Are you asking if it is
possible to set the TTL of an IP packet?
If so, and you are using Mac OS X, you should be able to do that with a
socket option, viz:
optval = Your_desired_initial_TTL;
retval = setsockopt(skt, PF_INET, IP_TTL, &optval, sizeof optval);
...
When you do this, the value Your_desired_initial_TTL is used as the TTL
in each packet that is transmitted via this socket.
Intermediate routers only decrement the TTL by 1 (these days); they
don't reset the value.
If that is not your question, perhaps you can rephrase it.
Regards,
Justin
From: Mahesh Vyas <email@hidden>
To: email@hidden
Subject: Setting of Hop Count
Date: Mon, 7 Apr 2003 20:56:39 +0530
I feel setting hop count doesnt works as it is dependent on the immediate
router.
i.e. ur request will be forwarded to next router on by the router. This
cannot be set at application layer.
Can any body help me out ?
Thanx
--__--__--
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.