xdrpp
RFC4506 XDR compiler and message library
Namespaces | Functions
rpcbind.h File Reference

Support for registering and (upon exit) unregistering with rpcbind. More...

#include <xdrpp/socket.h>
Include dependency graph for rpcbind.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 xdr
 Most of the xdrpp library is encapsulated in the xdr namespace.
 

Functions

unique_sock xdr::tcp_connect_rpc (const char *host, std::uint32_t prog, std::uint32_t vers, int family=AF_UNSPEC)
 Create a TCP connection to an RPC server on host, first querying rpcbind on host to determine the port. More...
 
void xdr::rpcbind_register (const sockaddr *sa, socklen_t salen, std::uint32_t prog, std::uint32_t vers)
 Register a service listening on sa with rpcbind.
 
void xdr::rpcbind_register (sock_t s, std::uint32_t prog, std::uint32_t vers)
 
int xdr::parse_uaddr_port (const std::string &uaddr)
 Extract the port number from an RFC1833 / RFC5665 universal network address (uaddr). More...
 
string xdr::make_uaddr (const sockaddr *sa, socklen_t salen)
 Create a uaddr for a local address or file descriptor.
 
string xdr::make_uaddr (sock_t s)
 

Detailed Description

Support for registering and (upon exit) unregistering with rpcbind.

Definition in file rpcbind.h.