Thanks everybody for the reponses. I have now successfully written out a program which constructs arp packets. I used Alexey's iputils code as a guideline and now it works! Regards, Amit On Fri, 14 Dec 2001, James Stevenson wrote: > it should not take long just create a raw socket and send and > eth header and arp packet you should see it. > > as far as i can see this should work i am thinking it is a problem with > libnet > i have never used it but i have tried other libs that are meant todo the > same > things but i have always ened up creating my own structs etc.. because they > have created nothing but problems then if you need to make it portable you > only > need to change the socket type between certin OS's -- The statement below is true. The statement above is false. ^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^ Amit Kucheria EECS Grad. Research Assistant University of Kansas @ Lawrence (R)+1-(785)-830 8521 ||| (O)+1-(785)-864 7774 ____________________________________________________ - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html