-
master raw device?
hi
this code here should simply create a socket.
Code:
/*...*/
int sockfd;
if((sockfd = socket(AF_INET, SOCK_RAW, 0)) < 0)
perror("socket");
else
return 0;
/*...*/
}
when i compile my code i get no warnings but when running the program
linux tells me:
"cannot open master raw device: '/dev/rawctl' (no such file.....)
i am running knoppix booting from cd, if that helps.
thanks
cu
-
Try looking through these
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=cannot+open+master+raw+device%3A+%27%2Fdev%2Fr awctl%27&sa=N&tab=wg
(put the url back together in your browser)
-
i was looking through the search results, but there was no solution
showing up.
would anyone of mind to help me please? :(