|
|
1.1 root 1: #include <isode/psap2.h>
2: #include <isode/isoservent.h>
3:
4: ...
5:
6: register struct PSAPaddr *pa;
7: register struct isoservent *is;
8:
9: ...
10:
11: if ((is = getisoserventbyname ("loop", "psap")) == NULL)
12: error ("psap/loop");
13:
14: /* RemoteHost is the host we're interested in,
15: e.g., ``gremlin.nrtc.northrop.com'' */
16:
17: if ((pa = is2paddr (RemoteHost, NULLCP, is)) == NULLPA)
18: error ("address translation failed");
19:
20: ...
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.