sig
type protocol = Tcp | Udp
type mode = Socket | BiPipe
type server_error =
Unavailable_program
| Unavailable_version of (Netnumber.uint4 * Netnumber.uint4)
| Unavailable_procedure
| Garbage
| System_err
| Rpc_mismatch of (Netnumber.uint4 * Netnumber.uint4)
| Auth_bad_cred
| Auth_rejected_cred
| Auth_bad_verf
| Auth_rejected_verf
| Auth_too_weak
| Auth_invalid_resp
| Auth_failed
| RPCSEC_GSS_credproblem
| RPCSEC_GSS_ctxproblem
val string_of_server_error : Rpc.server_error -> string
exception Rpc_server of Rpc.server_error
exception Rpc_cannot_unpack of string
val create_inet_uaddr : Unix.inet_addr -> int -> string
val parse_inet_uaddr : string -> Unix.inet_addr * int
val netid_of_inet_addr : Unix.inet_addr -> Rpc.protocol -> string
val sockaddr_of_uaddr :
string -> string -> (Unix.sockaddr * Rpc.protocol) option
end