Creates a service on any open file descriptor.
#include <rpc/rpc.h>
SVCXPRT *svcfd_create ( fd, sendsize, recvsize)
int fd;
u_int sendsize;
u_int recvsize;
The svcfd_create subroutine creates a service on any open file descriptor. Typically, this descriptor is a connected socket for a stream protocol such as Transmission Control Protocol (TCP).
fd | Identifies the descriptor. |
sendsize | Specifies the size of the send buffer. |
recvsize | Specifies the size of the receive buffer. |
Upon successful completion, this subroutine returns a TCP-based transport handle. If unsuccessful, it returns a value of null.
This subroutine is part of Base Operating System (BOS) Runtime.
List of RPC Programming References.
TCP/IP Protocols in AIX 5L Version 5.1 System Management Guide: Communications and Networks.
Remote Procedure Call (RPC) Overview for Programming and Sockets Overview in AIX 5L Version 5.1 Communications Programming Concepts.