home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.sys5.r4:1092 comp.sys.m88k:394
- Newsgroups: comp.unix.sys5.r4,comp.sys.m88k
- Path: sparky!uunet!mnemosyne.cs.du.edu!nyx!ben
- From: ben@nyx.cs.du.edu (Ben En)
- Subject: Raw sockets and ICMP
- Message-ID: <1993Jan1.085558.22736@mnemosyne.cs.du.edu>
- Summary: don't work on my Aviion
- X-Disclaimer: Nyx is a public access Unix system run by the University
- of Denver for the Denver community. The University has neither
- control over nor responsibility for the opinions of users.
- Keywords: Raw sockets icmp ping
- Sender: usenet@mnemosyne.cs.du.edu (netnews admin account)
- Organization: Nyx, Public Access Unix at U. of Denver Math/CS dept.
- Date: Fri, 1 Jan 93 08:55:58 GMT
- Lines: 22
-
- I tried to port the BSD ping program to my Data General Aviion, which
- is running SVR4 (DG/UX 5.4.1). It appears that there is some sort of
- problem with raw sockets or ICMP protocol. I simply can't get the thing
- to work. Every write results in an "invalid packet length" error, but
- the packet length is what I would expect it to be.
-
- I tried porting some other code to the box that uses raw sockets and
- icmp and such - this time, if I bind() a socket, I get EINVAL, which
- is supposed to indicate either the socket already has been bound, or
- the name has an invalid length. Again, all the arguments to bind() and
- socket() seem okay to me.
-
- The programs compile and run with no difficulties on ESIX SVR4 and
- SunOS. Does anyone know of any specific problems with Aviion raw
- sockets or IMCP?
-
- Please reply by email to me directly, as I rarely get to read email.
- Thanks for your help!
-
- --ben
- ben@piglet.cr.usgs.gov or ben@nyx.cs.du.edu
-
-