随笔分类 -  网络

网络相关
摘要:使用Wireshark抓包的时候,报出如下错误: The capture session could not be initiated on interface '\Device\NPF_Loopback' (Error opening adapter: The system cannot find 阅读全文
posted @ 2020-05-19 13:53 溟漓 阅读(12049) 评论(1) 推荐(3)
摘要:最近在linux做服务器开发的时候,发现了一个现象:服务器在启动的时候调用了 connect 函数,因为连接了一个不可用的端口,导致connect最后报出了 “Connection timed out” 的错误。但是这中间过了六十多秒的时间。 为何会等待这么长的时间才超时呢?这个时间又在哪里设置? 阅读全文
posted @ 2018-12-22 18:00 溟漓 阅读(5280) 评论(0) 推荐(1)