Karry Wang |
|
||
2013年7月19日
摘要:
1 for(;;){ 2 socklen_t len = sizeof(client_address); 3 connfd = accept(listenfd, (struct sockaddr *)&client_address, &len); 4 if(connfd < 0){ 5 printf("accept error: %s\n", strerror(errno)); 6 } 7 printf("server get connection from %s\n", inet_nto... 阅读全文
|
Copyright © 2024 Karry Wang
Powered by .NET 9.0 on Kubernetes |