PGM uses socket options to set state, provide multicast parameters, and otherwise implement its multicast capabilities. This page specifies how PGM socket options should be set, enumerates the socket options available for PGM, and where appropriate, provides usage examples and additional information for various options. For basic definitions of each PCM socket option, see Socket Options.
Windows XP: Reliable Multicast Programming (PGM) is not supported.
The following socket options are available for PGM senders:
The RM_SENDER_WINDOW_ADVANCE_METHOD option specifies the method used when advancing the trailing edge send window. The optval parameter can only be E_WINDOW_ADVANCE_BY_TIME (the default). Note that E_WINDOW_USE_AS_DATA_CACHE is not supported.
The following socket options are available for PGM receivers:
The following code snippet illustrates a programming guideline for setting PGM socket options:
ULONG OptionData; // This structure is option-dependent
// :
setsockopt (s,
IPPROTO_RM,
Socket_Option,
(char *) &OptionData,
sizeof (OptionData));
In the snippet above, the type and contents of OptionData are dependent on the socket option being set. For all PGM socket options, the socket level is IPPROTO_RM. PGM socket options must be set immediately following the call to the bind function, with the following exceptions:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4