Creates an RPC server handle using the specified open file
descriptor.
Format
#include <rpc/rpc.h>
SVCXPRT *svcfd_create(int fd, u_int sendsize, u_int recvsize);
1 – Arguments
fd
The number of an open file descriptor.
sendsize
The size of the send buffer. If you specify zero, the routine
chooses a suitable default.
recvsize
The size of the receive buffer. If you specify zero, the routine
chooses a suitable default.
2 – Description
Creates an RPC server handle using the specified TCP socket, to
which it returns a pointer. The server should call the svcfd_
create routine after it accepts an incoming TCP connection.
3 – Return Values
SVCXPRT * A pointer to the server handle.
NULL Indicates failure.