My name is Viswanadh. I am learning Network programming and i am doin a project using C language. I am also interested to do the GUI programming with the glade.
I learned the Glade,but i am having a problem while compling the code of <pcap.h> header file in Glade.
Normally the <pcap.h> header file included in C program is compiled as
"gcc new.c -lpcap"
this new.c is a c file which is having the code and in that file <pcap.h> is included. so i am compling the code using "-lpcap". if we didn't used this option we will get the error message.
But how to compile the c program which is having the <pcap.h> included while using the Glade software in Linux.
So please help me in combining the C code (with <pcap.h> included) and Glade