[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Communications Technical Reference, 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.

Implementation Specifics

This subroutine is part of Base Operating System (BOS) Runtime.

Related Information

List of RPC Programming References.

TCP/IP Protocols in AIX Version 4.3 System Management Guide: Communications and Networks.

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


[ Previous | Next | Contents | Glossary | Home | Search ]