Raw Socket
-
The raw socket protocol which represents a TCP socket.
Any concrete implementation does not need to be thread-safe.
Warning
It is expected that the instance is accessed on the specific queue only.Declaration
Swift
public protocol RawTCPSocketProtocol : class
-
The delegate protocol to handle the events from a raw TCP socket.
See moreDeclaration
Swift
public protocol RawTCPSocketDelegate: class
-
Declaration
Swift
open class GCDTCPSocket: NSObject, GCDAsyncSocketDelegate, RawTCPSocketProtocol
-
Declaration
Swift
public class NWTCPSocket: NSObject, RawTCPSocketProtocol
-
Declaration
Swift
public class TUNTCPSocket: RawTCPSocketProtocol, TSTCPSocketDelegate
-
Declaration
Swift
public class NWUDPSocket: NSObject