object AsyncDatagramChannel
- Companion
- class
class Object
trait Matchable
class Any
Value members
Concrete methods
def apply(reuseAddress: Boolean, sendBufferSize: Option[Int], receiveBufferSize: Option[Int], allowBroadcast: Boolean, protocolFamily: Option[ProtocolFamily], multicastInterface: Option[NetworkInterface], multicastTTL: Option[Int], multicastLoopback: Boolean)(implicit s: Scheduler): AsyncDatagramChannel
Opens an UDP channel
Opens an UDP channel
- Value Params
- allowBroadcast
java.net.DatagramSocket#setBroadcast
- multicastInterface
java.net.MulticastSocket#setInterface
- multicastLoopback
java.net.MulticastSocket#setLoopbackMode
- multicastTTL
java.net.MulticastSocket#setTimeToLive
- protocolFamily
the parameter is used to specify the java.net.ProtocolFamily. If the datagram channel is to be used for IP multicasting then this should correspond to the address type of the multicast groups that this channel will join.
- receiveBufferSize
java.net.Socket#setReceiveBufferSize
- reuseAddress
java.net.ServerSocket#setReuseAddress
- s
is the
Schedulerused for asynchronous computations- sendBufferSize
java.net.Socket#setSendBufferSize
- Returns
an AsyncDatagramChannel instance for handling receives and sends.