大萝卜BoBoBoBo~

导航

2020年3月25日 #

套接字I/O超时设置的方法

摘要: 用select实现超时 1.read_timeout函数封装 2.write_timeout 3.accept_timeout 4.connect_timeout 套接字I/O超时设置方法 1.ararm 第一种: SIGALRM void handler(int sig) { return 0; 阅读全文

posted @ 2020-03-25 22:19 我有一个大萝北 阅读(496) 评论(0) 推荐(0)