Re: Raw socket...

2006-10-20 Thread Ian Lance Taylor
Basavaraj Hiremath <[EMAIL PROTECTED]> writes: > 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 > s

Raw socket...

2006-10-20 Thread Basavaraj Hiremath
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