Re: LookupDiscovery MulticastTimeToLive
Rikard Elofsson <[email protected]>
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <[email protected]> |
Mark Brouwer skrev: > Rikard, can you explain why you have to set the TTL to 0 for production? Ah, sorry no for production I want to set multicast TTL to 1 (or so). Since I've been experiencing problems with a TTL of 0 I just want to be sure that a TTL of 1 will actually work > Although you probably can find reasons to want to have the dynamics of > multicast discovery on the localhost, for me this is nearing the > qualification of "uninteresting" (borrowing the words of somebody else :-). Hehe, the only reason for me to set ttl to 0 during development is to use the same code in development and deployed while islolating my local services from everybody else during development. I wasnt expecting to run into trouble with it, but it seems like there is some confusion around what ttl=0 actually should mean regarding leaving localhost or not. > With regard to net.jini.discovery.ttl I couldn't find the system > property in the docs or src of the 2.1 release so I doubt that one is > still there, it seems you have to specify constraints. OK I'll go with constraints and then see what actually happens. //R -------------------------------------------------------------------------- Getting Started: http://www.jini.org/wiki/Category:Getting_Started Community Web Site: http://jini.org jini-users Archive: http://archives.java.sun.com/archives/jini-users.html Unsubscribing: email "signoff JINI-USERS" to [email protected]