why wright #include<net inet/in.h> ??? why slash is used....???
as like others #include<sys/types.h>
#include<sys/socket.h>
#include<arpa/inet.h>
Is directory inside the sys and in type ???? plz make me understand..???
why wright #include<net inet/in.h> ??? why slash is used....???
as like others #include<sys/types.h>
#include<sys/socket.h>
#include<arpa/inet.h>
Is directory inside the sys and in type ???? plz make me understand..???
Last edited by sauravjyotisrv; 03-15-2012 at 08:16 AM.
socket.h is inside a folder called sys. on linux, the full path might be /usr/include/sys/socket.h. since only /usr/include is in the include path, you have to specify the subdirectory when including the file.
I need codes for storing a IP header, "FROM" and "TO" in a linklist ...