-
If this is set to
false
, then the IP address will be resolved by system.Declaration
Swift
var resolveHost = false
-
Connect to remote according to the
ConnectSession
.Declaration
Swift
override public func openSocketWith(session: ConnectSession)
Parameters
session
The connect session.
-
The socket did connect to remote.
Declaration
Swift
override public func didConnectWith(socket: RawTCPSocketProtocol)
Parameters
socket
The connected socket.
-
Declaration
Swift
override public func didRead(data: Data, from rawSocket: RawTCPSocketProtocol)
Parameters
data
from
-
Declaration
Swift
override public func didWrite(data: Data?, by rawSocket: RawTCPSocketProtocol)
Parameters
data
by