This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Raw socket...
- From: Basavaraj Hiremath <hbasava at yahoo dot com>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 20 Oct 2006 10:26:58 -0700 (PDT)
- Subject: Raw socket...
Hi,
I am writting an example program, to create a raw
socket on Fedora Core Linx.
When I create socket, my linux sustem crashes. I
need
to powerdown the system. I am running this program
as
super user to create raw socket.
Following line crashes..
rawSocket = socket(AF_INET, SOCK_RAW, IPPROTO_RAW);
Any insight on this will be great help.
Thanks & regards,
Raj
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com