jsivier@ux1.cso.uiuc.edu (Jonathon Sivier ) (01/29/91)
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? Is there a device I can open like a terminal and send to and receive from? Is it more tricky than this? Any help will be appreciated. Thanks Jonathan ------------------------------------------------------------------- | Jonathan Sivier | Ballo ergo sum. | | jsivier@ux1.cso.uiuc.edu | (I dance therefore I am.) | | Flight Simulation Lab | - des Cartwright | | Beckman Institute | | | 405 N. Mathews | | | Urbana, IL 61801 | | -------------------------------------------------------------------
dale@lamont.ldgo.columbia.edu (dale chayes) (02/05/91)
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
arc@kaibab.wpd.sgi.com (Andrew Cherenson) (02/06/91)
In article <3309@lamont.ldgo.columbia.edu> dale@lamont.ldgo.columbia.edu (dale chayes) writes: >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. As of IRIX 3.3, the Network Communications Guide replaced the TCP/IP User's Guide. The programming examples have been updated. Some sample TCP and UDP programs are on-line if you've installed the 4Dgifts stuff from the DEV (development) tape. Look in the /usr/people/4Dgifts/examples/network directory.