Companion

object Companion

Properties

Link copied to clipboard
const val DEFAULT_TIMEOUT: Long = 5000

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