WebIDLpedia

[DEPRECATED] UDPSocketOptions dictionary

As of August 1, 2023, this name is no longer defined by a Web Platform specification

Definition

Direct Sockets API defines UDPSocketOptions



dictionary UDPSocketOptions {
  DOMString remoteAddress;
  [EnforceRange] unsigned short remotePort;

  DOMString localAddress;
  [EnforceRange] unsigned short localPort;

  [EnforceRange] unsigned long sendBufferSize;
  [EnforceRange] unsigned long receiveBufferSize;

  SocketDnsQueryType dnsQueryType;
  boolean ipv6Only;
};

Referring IDL interfaces/dictionaries