This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]