1
0
Fork 0
firefox/docs/nspr/reference/prmcastrequest.rst
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

40 lines
715 B
ReStructuredText

PRMcastRequest
==============
Structure used to specify values for the ``PR_SockOpt_AddMember`` and
``PR_SockOpt_DropMember`` socket options that define a request to join
or leave a multicast group.
Syntax
------
.. code::
#include <prio.h>
struct PRMcastRequest {
PRNetAddr mcaddr;
PRNetAddr ifaddr;
};
typedef struct PRMcastRequest PRMcastRequest;
Fields
~~~~~~
The structure has the following fields:
``mcaddr``
IP multicast address of group.
``ifaddr``
Local IP address of interface.
Description
-----------
The ``mcaddr`` and ``ifaddr`` fields are of the type :ref:`PRNetAddr`, but
their ``port`` fields are ignored. Only the IP address (``inet.ip``)
fields are used.