|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T g
Length: 1120 (0x460)
Types: TextFile
Names: »grindB-1.tex«
└─⟦3d0c2be1b⟧ Bits:30001254 ISODE-5.0 Tape
└─⟦eba4602b1⟧ »./isode-5.0.tar.Z«
└─⟦d3ac74d73⟧
└─⟦this⟧ »isode-5.0/doc/manual/grindB-1.tex«
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
└─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z«
└─⟦de7628f85⟧
└─⟦this⟧ »isode-6.0/doc/manual/grindB-1.tex«
\File{grindB\-1.c},{18:18},{Feb 1 1989}
\L{\LB{\K{\#include} \<isode\/rosap.h\>}}
\L{\LB{\K{\#include} \<isode\/isoservent.h\>}}
\L{\LB{}}
\L{\LB{...}}
\L{\LB{}}
\L{\LB{\K{register} \K{struct} SSAPaddr *sa;}}
\L{\LB{\K{struct} RoSAPaddr roas;}}
\L{\LB{\K{register} \K{struct} RoSAPaddr *roa = \&roas;}}
\L{\LB{\K{register} \K{struct} isoservent *is;}}
\L{\LB{}}
\L{\LB{...}}
\L{\LB{}}
\L{\LB{\Proc{if}\K{if} ((is = getisoserventbyname (\S{}\"directory\"\SE{}, \S{}\"rosap\"\SE{})) == NULL)}}
\L{\LB{ error (\S{}\"rosap\/directory\"\SE{});}}
\L{\LB{}}
\L{\LB{\C{}\/* RemoteHost is the host we\'re interested in,}}
\L{\LB{ e.g., ``gremlin.nrtc.northrop.com\'\' *\/\CE{}}}
\L{\LB{}}
\L{\LB{roa \-\> roa\_port = is \-\> is\_port;}}
\L{\LB{\Proc{if}\K{if} ((is = getisoserventbyname (\S{}\"ros\"\SE{}, \S{}\"ssap\"\SE{})) == NULL)}}
\L{\LB{ error (\S{}\"ssap\/ros\"\SE{});}}
\L{\LB{\Proc{if}\K{if} ((sa = is2saddr (RemoteHost, NULLCP, (\K{struct} isoservent *) 0))}}
\L{\LB{}\Tab{8}{== NULLSA)}}
\L{\LB{ error (\S{}\"address translation failed\"\SE{});}}
\L{\LB{roa \-\> roa\_addr = *sa;}}
\L{\LB{}}
\L{\LB{...}}