Package org.jivesoftware.smack.proxy
Class Socks4ProxySocketConnection
java.lang.Object
org.jivesoftware.smack.proxy.Socks4ProxySocketConnection
- All Implemented Interfaces:
ProxySocketConnection
Socket factory for socks4 proxy.
-
Method Summary
-
Method Details
-
connect
Description copied from interface:ProxySocketConnectionInitiate a connection to the given host on the given port. Note that the caller is responsible for closing the socket in case this method throws.- Specified by:
connectin interfaceProxySocketConnection- Parameters:
socket- the socket to use to initiate the connection to the proxy.host- the host to connect to.port- the port to connect to.timeout- the timeout in milliseconds.- Throws:
IOException- in case an I/O error occurs.
-