Sockets problem on linux with gcc
Hi All
Can somebody please tell which is the header file, that will give me the
definitions of
SIOCGIFCONF
SIOCGIFFLAGS
Etc..
My code uses them as
status = ioctl(sock, SIOCGIFFLAGS, &req);
status = ioctl(sock, SIOCGIFCONF, &conf);
Where sock is int, conf is "struct ifconf" & req is "struct ifreq".
On my solaris box they are defined in sys/sockio.h file. Using a quick
grep tells me that it is in linux/sockios.h. But are they similar. Given
definition in two header files gives me some doubts.
-Ajay
_______________________________________________
Redhat-devel-list mailing list
Redhat-devel-list@redhat.com
https://listman.redhat.com/mailman/listinfo/redhat-devel-list
[Home]
[Kernel Newbies]
[Red Hat General]
[Fedora]
[Red Hat Install]
[Kernel List]
[Yosemite News]