Server Registration
ServerProc:
TYPE ~ SunRPC.ServerProc;
On entry, h is ready to get the arguments with GetXXX[h].
If doReply=FALSE, no reply message will be sent: ServerProcs should refrain from calling RunRPC.StartReply when they intend to return with doReply=FALSE; replyTimeToLive is ignored for NetworkStream-based transport.
CreateServer:
PROC [pgm, version:
CARD, serverProc: ServerProc, protocolFamily:
ATOM ¬ $ARPA, local:
ROPE ¬
NIL, clientData:
REF ¬
NIL]
RETURNS [s: Server];
Register serverProc as server for this program / version.
protocolFamily and local as in the NetworkStream interface.
GetServerAddress:
PROC [s: Server]
RETURNS [protocolFamily:
ATOM, local:
ROPE];
Determine the address on which server is listening.
}...