Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ svc_sendreply(3) — CLIX 3.1r7.6.28

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

xdr_int(3)

xdr_bytes(3)

xdr_getpos(3)

xdr_pointer(3)

xdrrec_create(3)

xdr_array(3)

xdr_destroy(3)

xdr_free(3)

xdr_inline(3)

xdrmem_create(3)

xdr_opaque(3)

xdr_union(3)

xdr_vector(3)

xdr_void(3)



  svcsendreply(3)                    CLIX                    svcsendreply(3)



  NAME

    svc_sendreply - Library function for remote procedure calls

  LIBRARY

    Berkeley Software Distribution Library (libbsd.a)

  SYNOPSIS

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

  PARAMETERS

    xprt      Specifies the address of the RPC service transport handle.

    outproc   Specifies the XDR filter routine used to encode results.

    out       Specifies the address of the buffer that is holding the results.

  DESCRIPTION

    The svc_sendreply() function allows C programs to make procedure calls on
    other machines across the network.  First, the client calls a procedure to
    send a data packet to the server.  Upon receipt of the packet, the server
    calls a dispatch routine to perform the requested service, and then sends
    back a reply.  Finally, the procedure call returns to the client.

    The svc_sendreply() function is called by an RPC service's dispatch
    routine to send the results of a remote procedure call.  The xprt
    parameter is the request's associated transport handle; outproc is the XDR
    routine used to encode the results; and out is the address of the results.

  RETURN VALUES

    This function returns 1 if it succeeds, and 0 otherwise.

  RELATED INFORMATION

    Functions:  xdr_int(3), xdr_bytes(3), xdr_getpos(3), xdr_pointer(3),
    xdrrec_create(3), xdr_array(3), xdr_destroy(3), xdr_free(3),
    xdr_inline(3), xdrmem_create(3), xdr_opaque(3), xdr_union(3),
    xdr_vector(3), xdr_void(3)

    CLIX Programming Guide






  2/94 - Intergraph Corporation                                              1




Typewritten Software • bear@typewritten.org • Edmonds, WA 98026