Smack/smack-core/src/main/java/org/jivesoftware/smack/c2s
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
..
internal Rework WebSocket code 2021-01-25 19:56:54 +01:00
ModularXmppClientToServerConnection.java Use XMPP connection as local SOCKS5 address 2023-04-26 10:00:23 +01:00
ModularXmppClientToServerConnectionConfiguration.java [core] Introduce Builder.failOnUnknownStates() and unit tests 2021-07-06 14:06:39 +02:00
ModularXmppClientToServerConnectionModule.java Introduce Smack's Modular Connection Architecture 2020-04-04 13:03:31 +02:00
ModularXmppClientToServerConnectionModuleDescriptor.java Rework WebSocket code 2021-01-25 19:56:54 +01:00
StreamOpenAndCloseFactory.java Rework WebSocket code 2021-01-25 19:56:54 +01:00
XmppClientToServerTransport.java Add smack-websocket-java11 2021-02-14 20:34:40 +01:00
package-info.java Introduce Smack's Modular Connection Architecture 2020-04-04 13:03:31 +02:00