摘要:
客户端:#include <stdio.h>#include <stdlib.h>#include <errno.h>#include <string.h>#include <netdb.h>#include <sys/types.h>#include <netinet/in.h>#include <sys/socket.h>#define MAXDATASIZE 100 int connect_server(int argc, char *argv[]){ int sockfd, numbytes 阅读全文