More on Port numbers

Bill Nowicki (nowicki%rose@SUN.COM)
Fri, 16 May 86 14:09:05 PDT

        Doesn't SUN's RPC (which I believe is in the public domain)
        address this issue (no pun intended)? If you say "do you
        seriously expect me to implement RPC and XDR just to get a port
        number?", I sympathize, I was only trying to find analogues for

Yes, Sun RPC (which was posted to mod.sources and is on the 4.3BSD
tape) has a service called the "Port mapper" that listens on one well
known port (number 111, officially registered as SUNRPC). Other Sun
RPC services register with the port mapper, and send to this port to
get other services. RPC "program numbers" are 32-bit integers, which
will take a while to use up. There is a map in the Yellow Pages lookup
service that maps from string name to RPC program number, so you can
add new protocols without compiling their numbers in programs. There
also is a Yellow Pages map for finding port numbers given a string name
(like the /etc/services file in 4.x BSD).

        -- Bill Nowicki
           Sun Microsystems

This archive was generated by hypermail 2.0b3 on Thu Mar 09 2000 - 14:36:07 GMT