fun open(group: CoroutineChannelGroup = CommonCoroutineGroup): CoroutineDatagramChannel
(source)
Opens a datagram channel.
selector
- The selector to use with this channel (defaults to CommonCoroutineSelector
).
IOException
- If an I/O error occurs.
Return
A new channel.