Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!cunixf.cc.columbia.edu!lamont!dale From: dale@lamont.ldgo.columbia.edu (dale chayes) Newsgroups: comp.sys.sgi Subject: Re: ethernet I/O from C? Summary: RTFM, but be careful Keywords: ethernet Message-ID: <3309@lamont.ldgo.columbia.edu> Date: 5 Feb 91 01:17:44 GMT References: <1991Jan29.155452.26139@ux1.cso.uiuc.edu> Organization: Lamont-Doherty Geological Observatory N.Y. Lines: 27 In article <1991Jan29.155452.26139@ux1.cso.uiuc.edu>, jsivier@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@lamont.ldgo.columbia.edu voice: (914) 359-2900 extension 434 fax: (914) 359-6817