This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Raw socket...
Basavaraj Hiremath <hbasava@yahoo.com> 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
> super user to create raw socket.
>
> Following line crashes..
> rawSocket = socket(AF_INET, SOCK_RAW, IPPROTO_RAW);
Wrong mailing list. This mailing list is for gcc development. Please
try a Linux programming list.
Ian