Connection

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun connect(endPoint: InetSocketAddress)
abstract fun connect(endPoint: InetSocketAddress, timeout: Int)
Connects to the specified end point.
Link copied to clipboard
abstract fun disconnect(userInitiated: Boolean)
Disconnects this instance.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun getLocalIP(): InetAddress
Gets the local IP.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun send(data: Array<Byte>)
Sends the specified data packet.