SO

org.apache.pekko.io.Udp.SO
object SO extends SoForwarders

Scala API: This object provides access to all socket options applicable to UDP sockets.

For the Java API see UdpSO.

Attributes

Source
Udp.scala
Graph
Supertypes
trait SoForwarders
class Object
trait Matchable
class Any
Self type
SO.type

Members list

Type members

Classlikes

final case class Broadcast(on: Boolean) extends SocketOption

pekko.io.Inet.SocketOption to set the SO_BROADCAST option

pekko.io.Inet.SocketOption to set the SO_BROADCAST option

For more information see java.net.DatagramSocket#setBroadcast

Attributes

Source
Udp.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait SocketOption
class Object
trait Matchable
class Any
Show all

Value members

Inherited methods

def ReusePort: ReusePort.type

pekko.io.Inet.SocketOption to enable or disable SO_REUSEPORT

pekko.io.Inet.SocketOption to enable or disable SO_REUSEPORT

For more information see java.net.StandardSocketOptions#SO_REUSEPORT

Attributes

Since

2.0.0

Inherited from:
SoForwarders
Source
Inet.scala

Inherited fields

val ReceiveBufferSize: ReceiveBufferSize.type

pekko.io.Inet.SocketOption to set the SO_RCVBUF option

pekko.io.Inet.SocketOption to set the SO_RCVBUF option

For more information see java.net.Socket#setReceiveBufferSize

Attributes

Inherited from:
SoForwarders
Source
Inet.scala
val ReuseAddress: ReuseAddress.type

pekko.io.Inet.SocketOption to enable or disable SO_REUSEADDR

pekko.io.Inet.SocketOption to enable or disable SO_REUSEADDR

For more information see java.net.Socket#setReuseAddress

Attributes

Inherited from:
SoForwarders
Source
Inet.scala
val SendBufferSize: SendBufferSize.type

pekko.io.Inet.SocketOption to set the SO_SNDBUF option.

pekko.io.Inet.SocketOption to set the SO_SNDBUF option.

For more information see java.net.Socket#setSendBufferSize

Attributes

Inherited from:
SoForwarders
Source
Inet.scala
val TrafficClass: TrafficClass.type

pekko.io.Inet.SocketOption to set the traffic class or type-of-service octet in the IP header for packets sent from this socket.

pekko.io.Inet.SocketOption to set the traffic class or type-of-service octet in the IP header for packets sent from this socket.

For more information see java.net.Socket#setTrafficClass

Attributes

Inherited from:
SoForwarders
Source
Inet.scala