I would create a WCF service with some methods: one of these methods would have a TTL (Time To Live) argument of byte type in order to set the maximum radius of forwarding to other nodes.
Since IP packets have a TTL field, is it possible to set this field using WCF in order to reach the same target?
Thanks a lot!
for usual Socket communication you could do it with this:
Socket.Ttl Property
for WCF I’m not sure you can control it in the same way, for MSMQ bindings there ius a
TimeToLiveproperty of the binding asTimeSpanbut is not the same thing as changing the TTL at theIPlevel, see here: WCF / MSMQ "time-to-be-received has elapsed" dead letter queue issueI’m not sure if you could write your own WCF binding and be able to push to your value to the underlying socket as in the first link I mentioned above…