RawSocketFactory
open class RawSocketFactory
Factory to create RawTCPSocket based on configuration.
-
Current active
NETunnelProviderwhich createsNWTCPConnectioninstance.Declaration
Swift
open static weak var TunnelProvider: NETunnelProvider? -
Return
RawTCPSocketinstance.Declaration
Swift
open static func getRawSocket(_ type: SocketBaseType? = nil) -> RawTCPSocketProtocolParameters
typeThe type of the socket.
Return Value
The created socket instance.
View on GitHub
RawSocketFactory Class Reference