上一页 1 2 3 4 5 6 7 ··· 19 下一页
摘要: #include <stdio.h> #include <stdlib.h> #include <sys/socket.h> #include <sys/wait.h> #include <netinet/in.h> #include <arpa/inet.h> #include <errno.h> 阅读全文
posted @ 2022-09-29 13:26 东宫得臣 阅读(20) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> #include <sys/socket.h> #include <sys/wait.h> #include <netinet/in.h> #include <arpa/inet.h> #include <time.h> 阅读全文
posted @ 2022-09-29 11:29 东宫得臣 阅读(5) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <errno.h> #include <string.h> # 阅读全文
posted @ 2022-09-22 14:06 东宫得臣 阅读(96) 评论(0) 推荐(0) 编辑
摘要: #include <netdb.h> #include <arpa/inet.h> #include <stdio.h> #include <stdlib.h> const int inet_addrstrlen=16; int main(int argc, char **argv) { char 阅读全文
posted @ 2022-09-15 23:49 东宫得臣 阅读(22) 评论(0) 推荐(0) 编辑
摘要: #include <netdb.h> /*返回:若成功则为非空指针,若出错则为NULL且设置h_errno*/ struct hostent *gethostbyname(const char *hostname); struct hostent { char *h_name; /*official 阅读全文
posted @ 2022-09-15 22:59 东宫得臣 阅读(74) 评论(0) 推荐(0) 编辑
摘要: void dg_cli(FILE *fp, int sockfd, const struct sockaddr * pservaddr, socklen_t servlen) { int n; char sendline[maxline], recvline[maxline+1]; char err 阅读全文
posted @ 2022-09-15 11:47 东宫得臣 阅读(9) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <errno.h> #include <string.h> c 阅读全文
posted @ 2022-09-15 10:47 东宫得臣 阅读(12) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <errno.h> #include <string.h> c 阅读全文
posted @ 2022-09-15 10:36 东宫得臣 阅读(8) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <time.h> #include <errno.h> #in 阅读全文
posted @ 2022-09-08 14:46 东宫得臣 阅读(14) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <errno.h> #include <string.h> c 阅读全文
posted @ 2022-09-08 12:56 东宫得臣 阅读(52) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 19 下一页