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

Technical Reference: Communications, Volume 1


svc_sendreply Subroutine

Purpose

Sends back the results of a remote procedure call.

Library

C Library (libc.a)

Syntax

#include <rpc/rpc.h>


svc_sendreply ( xprt, outproc, out)
SVCXPRT *xprt;
xdrproc_t outproc;
char *out;

Description

The svc_sendreply subroutine sends back the results of a remote procedure call. This subroutine is called by a Remote Procedure Call (RPC) service dispatch subroutine.

Parameters


xprt Points to the RPC service transport handle of the caller.
outproc Specifies the eXternal Data Representation (XDR) routine that encodes the results.
out Points to the address where results are placed.

Return Values

Upon successful completion, this subroutine returns a value of 1. If unsuccessful, it returns a value of 0.

Implementation Specifics

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

Related Information

List of RPC Programming References.

eXternal Data Representation (XDR) Overview for Programming and Remote Procedure Call (RPC) Overview for Programming in AIX 5L Version 5.1 Communications Programming Concepts.


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