Quote:
|
Originally Posted by Valmont
Hmm, are you including the files properly?
Care to share some code?
|
i guess pasting the whole code wud be useless, my source file starts from :
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <netdb.h>
#include <errno.h>
#include <fcntl.h>
#include <signal.h>
#include <string.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/select.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/wait.h>
#include <netinet/in.h>
#include <arpa/inet.h>
.. and then further coding ..
but when i compile it stucks on
#include <netdb.h>
giving an error that
netdb.h: No such file or directory.
and when i check the Include folder .. it doesnt have that header file !
So thats wat the problem is .. Similarly in the above initial code, i dont have socket.h and in.h files in the respective directories ..
Any Solution for My problem .. ?
Phanks,
Adios.