Added netinet/in.h to header for struct sockaddr_in.