The ONC RPC standard defines a record-marking protocol for
stream-oriented transport layers such as TCP whereby (1) each RPC
message is sent out as a single record and (2) where records may
be split into several fragments. This allows implementations to
“delimit one message from another in order to detect and possibly
recover from protocol errors” (see
RFC 1831, Section 10).
This protocol is implemented by the
(rpc rpc transports)
module. It is automatically used by the high-level client and server
run-stream-rpc-server. The available facilities are described
Send the RPC message of len octets encoded at offset offset in bv (a bytevector) to port. This procedure sends the len octets of the record without fragmenting them.
This procedure is a generalization of
Return a procedure that sends data according to the record marking standard, chopping its input bytevector into fragments of size fragment-len octets.