File:  [CSRG BSD Unix] / 43BSDReno / contrib / isode-beta / doc / manual / grind6-1.c
Revision 1.1: download - view: text, annotated - select for diffs
Tue Apr 24 16:12:56 2018 UTC (8 years, 1 month ago) by root
CVS tags: MAIN, HEAD
Initial revision

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

...

register struct TSAPaddr *ta;
register struct isoservent *is;

...

if ((is = getisoserventbyname ("session", "tsap")) == NULL)
    error ("tsap/session");

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

if ((ta = is2taddr (RemoteHost, NULLCP, is)) == NULLTA)
    error ("address translation failed");

...

unix.superglobalmegacorp.com

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