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


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