Smack/smack-tcp/src/main/java/org/jivesoftware/smack/tcp
Martin Fidczuk ffd027cc7d
Use XMPP connection as local SOCKS5 address
The default local address is often just "the first address found in the list of addresses read from the OS" and this might mean an internal IP address that cannot reach external servers. So wherever possible use the same IP address being used to connect to the XMPP server because this local address has a better chance of being suitable.

This MR adds the above behaviour, and two UTs to test that we use the local XMPP connection IP when connected, and the previous behaviour when not.
2023-04-26 10:00:23 +01:00
..
rce Bump ErrorProne to 2.5.1 and refactor Providers a bit 2021-01-29 09:26:15 +01:00
BundleAndDefer.java Minor javadoc fixes and improvements 2015-02-22 10:41:53 +01:00
BundleAndDeferCallback.java Fix minor codestyle issues 2017-12-17 11:03:46 +01:00
ConnectionAttemptState.java Remove unrequired assignment of value to connectionEndpoint variable 2020-07-02 01:59:58 +05:30
TCPInitializer.java Introduce Smack's Modular Connection Architecture 2020-04-04 13:03:31 +02:00
TcpHostEvent.java Introduce Smack's Modular Connection Architecture 2020-04-04 13:03:31 +02:00
XMPPTCPConnection.java Use XMPP connection as local SOCKS5 address 2023-04-26 10:00:23 +01:00
XMPPTCPConnectionConfiguration.java Use correct class name in docs 2020-05-28 03:29:37 +05:30
XmppTcpTransportModule.java Add smack-websocket-java11 2021-02-14 20:34:40 +01:00
XmppTcpTransportModuleDescriptor.java Introduce Smack's Modular Connection Architecture 2020-04-04 13:03:31 +02:00
package-info.java Add missing package-info descriptions. 2018-02-21 16:47:11 +01:00