Contents

sockopt_copyin

Declaration

errno_t sockopt_copyin(sockopt_t sopt, void *data, size_t length);

Parameters

  • sopt:

    The socket option.

  • data:

    A pointer to the buffer to copy the data in to.

  • length:

    The number of bytes to copy.

Return Value

An errno error or zero upon success.

Discussion

Copies the data from the socket option to a buffer.

See Also

Network Kernel Extensions