home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / sys5 / r4 / 1092 < prev    next >
Encoding:
Internet Message Format  |  1993-01-01  |  1.6 KB

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