... <sys/socket.h>#include <netinet /in. h>#include <arpa/inet.h>#define MYPORT 3490main(){int sockfd;struct sockaddr _in my_addr;sockfd = socket(AF_INET, SOCK_STREAM, 0); // do some error checking!my_addr.sin_family ... there’s a cleaner interface you can use instead of inet_addr(): it’s calledinet_aton() (“aton” means “ascii to network ):#include <sys/socket.h>#include <netinet /in. h>#include <arpa/inet.h>int ... <errno.h>#include <string.h>#include <sys/types.h>#include <sys/socket.h>#include <netinet /in. h>#include <arpa/inet.h>#include <sys/wait.h>#include <signal.h>11http://beej.us/guide/bgnet/examples/server .c Beej’s...