Companion
object Companion
Functions
Link copied to clipboard
fun createTcpSocket(type: SocketType, host: String, port: Int, secured: Boolean, timeout: Long, certificates: TrustManager? = null): TcpStreamSocket
Link copied to clipboard
fun createUdpSocket(type: SocketType, host: String, port: Int, timeout: Long, sourcePort: Int? = null, receiveSize: Int? = null, udpType: UdpType = UdpType.UNICAST): UdpStreamSocket