Skip to main content

Anyone know what exclusive means in setTcpPublicAddress?

2 replies [Last post]
andrwe2486
Offline
Joined: 2009-05-07
Points: 0

I was just wondering what exclusive does in NetworkConfigurator.setTcpPublicAddress(String IP, boolean exclusive)

I read the thing in jxta doc saying it determines exclusive access to address...but I'm not sure I understand what that means.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
andrwe2486
Offline
Joined: 2009-05-07
Points: 0

Thanks i appreciate. That makes sense.

enygma2002
Offline
Joined: 2008-12-22
Points: 0

As far as I know, Jxta advertises all your available addresses(local IP, Internet IP, second network card's IP if there is one, etc.) for connectivity reasons.

For instance, sometimes you might want to disable the usage of your LAN IP when a peer needs to contact you so you say that you want to use exclusively the specified public address (Internet IP). This way, even peers in your LAN will refer to you by using your Internet IP instead of your LAN IP.

Hope this helps.

Good luck!