File:  [CSRG BSD Unix] / 43BSDReno / contrib / isode-beta / doc / manual / grind5b-1.tex
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:56 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43reno
BSD 4.3reno

\File{grind5b\-1.c},{22:23},{Jun 12 1988}
\L{\LB{\K{\#include} \<isode\/ssap.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{register} \K{struct} isoservent *is;}}
\L{\LB{}}
\L{\LB{...}}
\L{\LB{}}
\L{\LB{\Proc{if}\K{if} ((is = getisoserventbyname (\S{}\"presentation\"\SE{}, \S{}\"ssap\"\SE{})) == NULL)}}
\L{\LB{    error (\S{}\"ssap\/presentation\"\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{\Proc{if}\K{if} ((sa = is2saddr (RemoteHost, NULLCP, is)) == NULLSA)}}
\L{\LB{    error (\S{}\"address translation failed\"\SE{});}}
\L{\LB{}}
\L{\LB{...}}

unix.superglobalmegacorp.com

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