ethernet I/O from C?

dale chayes dale at lamont.ldgo.columbia.edu
Tue Feb 5 12:17:44 AEST 1991


In article <1991Jan29.155452.26139 at ux1.cso.uiuc.edu>, jsivier at ux1.cso.uiuc.edu (Jonathon Sivier ) writes:
> 
>    Does anyone have any tips/hints/guides on how I can communicate across
> the ethernet from within a program written in C on an IRIS? 

(I have deleted the redundant questions....)

First of all, have a look in the TCP/IP Users Guide from SGI (my version
is 2.1) where there is a reasonable (but far from complete/perfect) 
discussion of network transfers including program to program options.  
While I know from first hand experience that the examples having to 
do with UDP broadcasts are neither complete nor correct, they were 
sufficient (when coupled with some thought and experimentation) for 
me to get my application to work.

CAUTION: Bear in mind the consequences of transmitting garbage on
you favorite network. BE CAREFUL, you can inadvertently cause a 
lot of grief. The safest option is to work on a network of just a 
few systems all of which you can afford to crash.

A better place to start is Doug Comer's book: Internetworking with TCP/IP 
ISBN 0-13-470154-2. 

-- 
Dale Chayes Lamont-Doherty Geological Observatory of Columbia University
Route 9W, Palisades, N.Y.  10964	dale at lamont.ldgo.columbia.edu
voice:	(914) 359-2900 extension 434	fax: (914) 359-6817



More information about the Comp.sys.sgi mailing list