-
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
sessionThe connect session.
-
The socket did connect to remote.
Declaration
Swift
override public func didConnectWith(socket: RawTCPSocketProtocol)Parameters
socketThe connected socket.
-
Declaration
Swift
override public func didRead(data: Data, from rawSocket: RawTCPSocketProtocol)Parameters
datafrom -
Declaration
Swift
override public func didWrite(data: Data?, by rawSocket: RawTCPSocketProtocol)Parameters
databy
View on GitHub
DirectAdapter Class Reference