data class BsdDatagramSocketAddress
Data representing address for both end of a BSD socket
localPort
- The local port this socket should be bound to
remoteAddress
- The remote address this socket should be bound to. When remote address is
specified all request will be sent to that address. If NULL this socket
can only receive request.
BsdDatagramSocketAddress(localPort: Int, remoteAddress: InetSocketAddress? = null)
Data representing address for both end of a BSD socket |
val localPort: Int
The local port this socket should be bound to |
|
val remoteAddress: InetSocketAddress?
The remote address this socket should be bound to. When remote address is specified all request will be sent to that address. If NULL this socket can only receive request. |