Retrieves the socket options set for a specified socket.
The function has the following parameters:
- A pointer to a
PRFileDescobject representing the socket whose options are to be retrieved.
- A pointer to a structure of type
PRSocketOptionData. On input, the
optionfield of this structure must be set to indicate which socket option to retrieve for the socket represented by the
fdparameter. On output, this structure contains the requested socket option data.
- If successful,
- If unsuccessful,
PR_FAILURE. The reason for the failure can be obtained by calling