SOCKS5ProxySocket
Undocumented
-
Undocumented
See more -
Undocumented
See more -
The remote host to connect to.
Declaration
Swift
public var destinationHost: String! -
The remote port to connect to.
Declaration
Swift
public var destinationPort: Int! -
Undocumented
-
Undocumented
-
Begin reading and processing data from the socket.
Declaration
Swift
override public func openSocket() -
The socket did read some data.
Declaration
Swift
override public func didRead(data: Data, from: RawTCPSocketProtocol)Parameters
dataThe data read from the socket.
fromThe socket where the data is read from.
-
The socket did send some data.
Declaration
Swift
override public func didWrite(data: Data?, by: RawTCPSocketProtocol)Parameters
dataThe data which have been sent to remote (acknowledged). Note this may not be available since the data may be released to save memory.
fromThe socket where the data is sent out.
-
Response to the
AdapterSocketon the other side of theTunnelwhich has succefully connected to the remote server.Declaration
Swift
override public func respondTo(adapter: AdapterSocket)Parameters
adapterThe
AdapterSocket.
View on GitHub
SOCKS5ProxySocket Class Reference