Annotation of 43BSDReno/contrib/isode-beta/doc/manual/grindB-1.c, revision 1.1.1.1

1.1       root        1: #include <isode/rosap.h>
                      2: #include <isode/isoservent.h>
                      3: 
                      4: ...
                      5: 
                      6: register struct SSAPaddr *sa;
                      7: struct RoSAPaddr roas;
                      8: register struct RoSAPaddr *roa = &roas;
                      9: register struct isoservent *is;
                     10: 
                     11: ...
                     12: 
                     13: if ((is = getisoserventbyname ("directory", "rosap")) == NULL)
                     14:     error ("rosap/directory");
                     15: 
                     16: /* RemoteHost is the host we're interested in,
                     17:    e.g., ``gremlin.nrtc.northrop.com'' */
                     18: 
                     19: roa -> roa_port = is -> is_port;
                     20: if ((is = getisoserventbyname ("ros", "ssap")) == NULL)
                     21:     error ("ssap/ros");
                     22: if ((sa = is2saddr (RemoteHost, NULLCP, (struct isoservent *) is))
                     23:        == NULLSA)
                     24:     error ("address translation failed");
                     25: roa -> roa_addr = *sa;
                     26: 
                     27: ...

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.