Path: 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 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.