Creates a service on any open file descriptor.
C Library (libc.a)
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).
Item | Description |
---|---|
fd | Identifies the descriptor. |
sendsize | Specifies the size of the send buffer. |
recvsize | Specifies the size of the receive buffer. |
In AIX® 5.2, the maximum number of open file descriptors that an RPC server can use has been set to 32767 so that compatibility can be maintained with RPC-server applications built on earlier releases of AIX.
Upon successful completion, this subroutine returns a TCP-based transport handle. If unsuccessful, it returns a value of null.