摘要:
udp_server #include<stdio.h>#include<sys/socket.h>#include<string.h>#include<netinet/in.h>#define portnum 3333 void main(){ int n,addrlen; char buffer 阅读全文
摘要:
tcp_server.c #include<stdio.h>#include<sys/socket.h>#include<string.h>#include<netinet/in.h>#define portnum 3333 int main(){ struct sockaddr_in server 阅读全文