Capturing packets using SOCK_RAW
rajsekhar darapuram
dvrsekhar at yahoo.com
Tue Nov 19 16:54:43 EST 2002
hi,
I'm learning python. I'm trying to capture packets
using socket (SOCK_RAW option). However when I try to
get the tuple information of the socket by calling
getaddrinfo(), I'm getting the following error.
Traceback (innermost last):
File "server.py", line 12, in ?
for res in socket.getaddrinfo(HOST, PORT,
socket.AF_UNIX, socket.SOCK_RAW):
AttributeError: getaddrinfo
Please let me know.
Regards
Raj
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com
More information about the Python-list
mailing list