[Twisted-Python] New user, help needed with raw UDP packets
Itamar Shtull-Trauring
itamar at itamarst.org
Fri Apr 16 07:34:49 MDT 2004
On Fri, 2004-04-16 at 03:00, Richard Taylor wrote:
> I have been looking at how to subclass usp.Port to get what I want but I have
> come up against a problem that looks like a show stopper to me. It does not
> look like Python's socket library supports SOCK_RAW. I may be mistaken, but I
> think that I need to put the socket into RAW mode to get the incoming headers
> and to set my own headers on the outgoing packets. Without SOCK_RAW I am
> stuffed.
Were you running as root? That would be a requirement.
--
Itamar Shtull-Trauring http://itamarst.org
Looking for a job -- http://itamarst.org/resume.html
More information about the Twisted-Python
mailing list