DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T g

⟦5c368cca1⟧ TextFile

    Length: 638 (0x27e)
    Types: TextFile
    Names: »grindB-1.c«

Derivation

└─⟦3d0c2be1b⟧ Bits:30001254 ISODE-5.0 Tape
    └─⟦eba4602b1⟧ »./isode-5.0.tar.Z« 
        └─⟦d3ac74d73⟧ 
            └─⟦this⟧ »isode-5.0/doc/manual/grindB-1.c« 
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
    └─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z« 
        └─⟦de7628f85⟧ 
            └─⟦this⟧ »isode-6.0/doc/manual/grindB-1.c« 

TextFile

#include <isode/rosap.h>
#include <isode/isoservent.h>

...

register struct SSAPaddr *sa;
struct RoSAPaddr roas;
register struct RoSAPaddr *roa = &roas;
register struct isoservent *is;

...

if ((is = getisoserventbyname ("directory", "rosap")) == NULL)
    error ("rosap/directory");

/* RemoteHost is the host we're interested in,
   e.g., ``gremlin.nrtc.northrop.com'' */

roa -> roa_port = is -> is_port;
if ((is = getisoserventbyname ("ros", "ssap")) == NULL)
    error ("ssap/ros");
if ((sa = is2saddr (RemoteHost, NULLCP, (struct isoservent *) 0))
	== NULLSA)
    error ("address translation failed");
roa -> roa_addr = *sa;

...