*BSD News Article 22330


Return to BSD News archive

Xref: sserve comp.unix.programmer:12341 comp.unix.bsd:12743
Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!moe.ksu.ksu.edu!vixen.cso.uiuc.edu!uwm.edu!math.ohio-state.edu!darwin.sura.net!iris.tjhsst.edu!thor.tjhsst.edu!not-for-mail
From: cmetz@thor.tjhsst.edu (Craig Metz)
Newsgroups: comp.unix.programmer,comp.unix.bsd
Subject: Looking for raw sockets code
Date: 13 Oct 1993 07:35:57 -0400
Organization: The Thomas Jefferson High School for Science and Technology
Lines: 12
Distribution: world
Message-ID: <29gp6t$ia3@thor.tjhsst.edu>
NNTP-Posting-Host: thor.tjhsst.edu

	I am working on a project that will require me to be able to send
and receive data using raw Internet domain sockets (ie, sending data in a
new ``protocol'' with a different IP protocol number). However, I am 
having a bit of trouble doing so, mostly due to problems with addressing.
Does anyone have or know of any good, simple code that could be used as a
working example of how to use raw IP sockets? The closest thing I have at
the moment is the ``traceroute'' source, not exactly something that I would
like to use as the model for my code (!). 

								Thanks,

								-Craig