You don't have the necessary libs included for compiling the file socket.cpp