rpcb_getport_sync — obtain the port for an RPC service on a given host
address of remote peer
RPC program number to bind
RPC version number to bind
transport protocol to use to make this request
Return value is the requested advertised port number, or a negative errno value.
Called from outside the RPC client in a synchronous task context. Uses default timeout parameters specified by underlying transport.
Needs to support IPv6