home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!emory!emory!not-for-mail
- From: bob@worms-emh2.army.mil (Bob Kane)
- Newsgroups: comp.databases.informix
- Subject: <No Subject Supplied>
- Date: 22 Jan 1993 05:38:06 -0500
- Organization: Mailing List Gateway
- Lines: 50
- Sender: walt@mathcs.emory.edu
- Distribution: world
- Message-ID: <1joiqeINNds8@emory.mathcs.emory.edu>
- Reply-To: bob@worms-emh2.army.mil (Bob Kane)
- NNTP-Posting-Host: emory.mathcs.emory.edu
- X-Informix-List-ID: <list.1808>
-
- Copy of: Registered Message.
- To: "Thomas S. Martin" <tom@worms-emh2.army.mil>
- Subject: Re: [Just another eccentric comput: Re: MNP-5 Board Compatabilities with MMDF - II]
- Resent-Date: Fri, 22 Jan 93 10:01:51 GMT
- Resent-From: bob@worms-emh2.army.mil
- Resent-To: informix-list@rmy.emory.edu
-
- Bruce,
-
- If ISEC will provide us with the correct MMDF-II source, I will do the
- compilation and testing over a weekend, after AT&T reinstalls our MNP card.
- We will only do so of course if we get the source. I feel this is time
- well spent as the MNP has other advantages, such as Berkely complient librarys
- and header files. I took straight BSD 4.3 code for 'whois' and compiled it
- for the MNP. Worked like a charm. Here is the include stuff:
-
-
-
- /*
- * whois or nicname - DARPA Internet user name directory service
- * as defined in RFC 742.
- *
- * Written by: DDN Network Information Center.
- * This code may be freely copied for any use.
- *
- * Tested on Sun3s running 3.5, VAXes and Pyramids running Berkeley
- * BSD4.3, and Microvaxes running Ultrix v2.0.
- *
- * To compile on BSD4.[23], SunOS3.x, and Ultrix:
- *
- * cc -o whois whois.c
- *
- * Usage: whois [ -h host ] name
- *
- * 'host' may be either by name or address.
- */
- #include <CMC/types.h>
- #include <CMC/socket.h>
- #include <CMC/in.h>
- #include <stdio.h>
- #include <CMC/netdb.h>
- #include <CMC/bsd.h>
-
- The code was compiled with the new librarys, libcmcnet.a and libsnmp.a.
-
- -----------------------------------------------------------------------------
- Bob Kane Internet: bob@worms-emh2.army.mil (IP 134.235.9.2)
- TechDyn Systems Voice: (049) 6241-487306 (WORMS, GERMANY)
- CMR 421, BOX 706 Fax: (049) 6241-49560
- APO AE 09056 CIS: 71054,2661
-