🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #7086

IP raw socket examples

#7086
From: Gabriel Montenegro
Date: Thu, 21 Mar 1991 21:31
4 lines
919 bytes
Does anybody know of any code I can look at that programs directly at the
IP layer (raw AF_INET sockets)? I've tried this, supplying my own little
header right after the IP header, just like they do with ICMP packets in
the ping source, but as soon as I do my sendto I crash my system. 
Technical Details
Message-ID: <2014@brchh104.bnr.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!emory!gatech!mcnc!rti!bnrunix!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!emory!gatech!mcnc!rti!bnrunix!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request
From: gab@eng.sun.com (Gabriel Montenegro)
Newsgroups: comp.sys.sun
Subject: IP raw socket examples
Keywords: Networks
Message-ID: <2014@brchh104.bnr.ca>
Date: 21 Mar 91 21:31:00 GMT
Sender: news@brchh104.bnr.ca
Organization: Sun-Spots
Lines: 4
Approved: Sun-Spots@rice.edu
X-Original-Date: Thu, 14 Mar 91 23:59:43 PST
X-Sun-Spots-Digest: Volume 10, Issue 52, message 6
X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu