11 2023 档案

bind(): Address already in use
摘要:添加 if(setsockopt(sock_fd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(int))<0) { perror("setsockopt() reuse"); goto err1; } 添加SO_REUSEADDR之后 connect(): Can 阅读全文

posted @ 2023-11-23 09:53 tycoon3 阅读(30) 评论(0) 推荐(0) 编辑

ipv6无法获取邻居地址
摘要:[root@centos7 dpdk-19.11]# ip n | grep 'fe80::4a57:2ff:fe64:e7ae' fe80::4a57:2ff:fe64:e7ae dev enp5s0 FAILED [root@centos7 dpdk-19.11]# ping6 fe80::4a 阅读全文

posted @ 2023-11-15 15:53 tycoon3 阅读(89) 评论(0) 推荐(0) 编辑

python tab vim
摘要:1.unindent does not match any outer indentation level 原因是文件中包含了tab和空格的混合解决方法:全部使用空格。将 tabstop 和 shiftwidth 设置成相同的值,如 4,并设置 expandtab。这样新增的缩进会用空格,你按下 t 阅读全文

posted @ 2023-11-14 09:54 tycoon3 阅读(30) 评论(0) 推荐(0) 编辑

ipv6
摘要:sysctl -a | grep ipv6 | grep disable net.ipv6.conf.enahisic2i0.disable_ipv6 = 0net.ipv6.conf.enahisic2i0.disable_policy = 0net.ipv6.conf.enahisic2i1.d 阅读全文

posted @ 2023-11-14 09:53 tycoon3 阅读(17) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示