[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Communications, Volume 1

svcfd_create Subroutine

Purpose

Creates a service on any open file descriptor.

Library

C Library (libc.a)

Syntax

#include <rpc/rpc.h>


SVCXPRT *svcfd_create ( fd, sendsize, recvsize)
int fd;
u_int sendsize;
u_int recvsize;

Description

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).

Parameters

fd Identifies the descriptor.
sendsize Specifies the size of the send buffer.
recvsize Specifies the size of the receive buffer.

Return Values

Upon successful completion, this subroutine returns a TCP-based transport handle. If unsuccessful, it returns a value of null.

Related Information

List of RPC Programming References.

TCP/IP Protocols in AIX 5L Version 5.2 System Management Guide: Communications and Networks.

Remote Procedure Call (RPC) Overview for Programming and Sockets Overview in AIX 5L Version 5.2 Communications Programming Concepts.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]