Options used to configure a datagram socket.

no subtypes hierarchy

Initializer
DatagramSocketOptions(Boolean? broadcast = null, Boolean? ipV6 = null, Boolean? logActivity = null, Boolean? loopbackModeDisabled = null, String? multicastNetworkInterface = null, Integer? multicastTimeToLive = null, Integer? receiveBufferSize = null, Boolean? reuseAddress = null, Boolean? reusePort = null, Integer? sendBufferSize = null, Integer? trafficClass = null)
Parameters:
  • broadcast = null

    Set if the socket can send or receive broadcast packets

  • ipV6 = null

    Set if IP v6 should be used

  • logActivity = null
  • loopbackModeDisabled = null

    Set if loopback mode is disabled

  • multicastNetworkInterface = null

    Set the multicast network interface address

  • multicastTimeToLive = null

    Set the multicast ttl value

  • receiveBufferSize = null
  • reuseAddress = null
  • reusePort = null
  • sendBufferSize = null
  • trafficClass = null
Attributes
broadcastshared Boolean? broadcast

Set if the socket can send or receive broadcast packets

ipV6shared Boolean? ipV6

Set if IP v6 should be used

loopbackModeDisabledshared Boolean? loopbackModeDisabled

Set if loopback mode is disabled

multicastNetworkInterfaceshared String? multicastNetworkInterface

Set the multicast network interface address

multicastTimeToLiveshared Integer? multicastTimeToLive

Set the multicast ttl value

Inherited Attributes
Attributes inherited from: NetworkOptions
Attributes inherited from: Object
hash, string
Methods
toJsonshared actual default JsonObject toJson()
Refines NetworkOptions.toJson ultimately refines BaseDataObject.toJson
Inherited Methods
Methods inherited from: NetworkOptions
Methods inherited from: Object
equals
Methods inherited from: BaseDataObject
toJson