Enumeration type used in the option field of PRSocketOptionData to form the name portion of a name-value pair.
#include <prio.h>
typedef enum PRSockOption {
PR_SockOpt_Nonblocking,
PR_SockOpt_Linger,
PR_SockOpt_Reuseaddr,
PR_SockOpt_Keepalive,
PR_SockOpt_RecvBufferSize,
PR_SockOpt_SendBufferSize,
PR_SockOpt_IpTimeToLive,
PR_SockOpt_IpTypeOfService,
PR_SockOpt_AddMember,
PR_SockOpt_DropMember,
PR_SockOpt_McastInterface,
PR_SockOpt_McastTimeToLive,
PR_SockOpt_McastLoopback,
PR_SockOpt_NoDelay,
PR_SockOpt_MaxSegment,
PR_SockOpt_Last
} PRSockOption;
The enumeration has the following enumerators:
PR_SockOpt_NonblockingPR_SockOpt_LingerPR_SockOpt_ReuseaddrPR_SockOpt_KeepalivePR_SockOpt_RecvBufferSizePR_SockOpt_SendBufferSizePR_SockOpt_IpTimeToLivePR_SockOpt_IpTypeOfServicePR_SockOpt_AddMemberPR_SockOpt_DropMemberPR_SockOpt_McastInterfacePR_SockOpt_McastTimeToLivePR_SockOpt_McastLoopbackPR_SockOpt_NoDelayPR_SockOpt_MaxSegmentPR_SockOpt_LastThe PRSockOption enumeration consists of all the socket options supported by NSPR. The option field of PRSocketOptionData should be set to an enumerator of type PRSockOption.