Added main to server.cpp (oops), fixed errors.
Removed warnings from network.c
Fixed warnings in client.cpp and server.cpp.  Some warnings still present in server.cpp.