I\'m trying to compile this program, as referenced in Beej\'s Guide to Network Programming on page 19.
#include #include
Use #include ....along with that.....and in compilation (ubuntu)....
#include
gcc server/client -o server/client.c -lpthread
(here lpthread is a linki processing thread)...which solves your problem. :-D
lpthread