*BSD News Article 17865


Return to BSD News archive

Xref: sserve comp.sys.sun.misc:8498 comp.unix.bsd:12176 comp.unix.solaris:4182 de.comp.os.unix:178
Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!xlink.net!ira.uka.de!i50s19.ira.uka.de!borchert
From: borchert@i50s19.ira.uka.de (Volker Borchert)
Newsgroups: uka.sun,comp.sys.sun.misc,comp.unix.bsd,comp.unix.solaris,de.comp.os.unix,sub.os.unix,zer.z-netz.rechner.unix
Subject: raw sockets on Sparc 10 with SunOS 4.1.3
Followup-To: comp.sys.sun.misc
Date: 2 Jul 1993 14:03:06 GMT
Organization: University of Karlsruhe, Comp. Sc. Dept., FRG
Lines: 19
Distribution: world
Message-ID: <211f6qINN4of@iraun1.ira.uka.de>
Reply-To: borchert@ira.uka.de
NNTP-Posting-Host: i50s19.ira.uka.de
Keywords: socket AF_RAW Sun SunOS Sparc

  Sorry if this is misplaced on this group, but I have an urgent question on
"raw socket" programming.
  This is to read and send packets with non-IP type codes in the IEEE header.
  I need this to port a distributed application using its own packet type code
to Sparc's while maintaining interoperability with the PC-MSDOS version. Due to
memory space restrictions (oh this silly MSDOS... 640k...) on the PC side, I
would prefer to avoid IP on the Sparc against using TCP/IP on the PC.
  On SG/Irix, jou can just call socket(AF_RAW,SOCK_RAW,...). On my pizzabox, I
could not find AF_RAW in the headers, and the Network Programming Guide does
admit the existance of SOCK_RAW but does not explain its use.

Any hints welcome. Thanx,

	Volker

-- 

* "I'm a doctor, not a mechanic." Dr Leonard McCoy <mccoy@ncc1701.starfleet.fed> *
* "I'm a mechanic, not a doctor." Volker Borchert <borchert@ira.uka.de>          *