4 Type for structure used with :ref:`PR_GetSocketOption` and
5 :ref:`PR_SetSocketOption` to specify options for file descriptors that
16 typedef struct PRSocketOptionData
27 PRBool mcast_loopback;
30 PRSize recv_buffer_size;
31 PRSize send_buffer_size;
33 PRMcastRequest add_member;
34 PRMcastRequest drop_member;
43 The structure has the following fields:
48 IP multicast time-to-live.
50 IP type-of-service and precedence.
52 Nonblocking (network) I/O.
54 Allow local address reuse.
56 Periodically test whether connection is still alive.
58 IP multicast loopback.
60 Disable Nagle algorithm. Don't delay send to coalesce packets.
62 TCP maximum segment size.
68 Time to linger on close if data are present in socket send buffer.
70 Join an IP multicast group.
72 Leave an IP multicast group.
74 IP multicast interface address.
80 :ref:`PRSocketOptionData` is a name-value pair for a socket option. The
81 ``option`` field (of enumeration type :ref:`PRSockOption`) specifies the
82 name of the socket option, and the ``value`` field (a union of all
83 possible values) specifies the value of the option.