connect
fun connect(remoteAddress: SocketAddress, localAddress: SocketAddress? = null, configure: SocketOptions.UDPSocketOptions.() -> Unit = {}): ConnectedDatagramSocket
Content copied to clipboard
Create a datagram socket to listen datagrams at localAddress and set to remoteAddress.