随笔分类 -  网络

Using select() for non-blocking sockets
摘要:原问题 I am trying to use the select function to have non-blocking i/o between a server and 1 client (no more) where the communication flows nicely (can 阅读全文

posted @ 2021-02-04 10:16 liujx2019 阅读(124) 评论(0) 推荐(0)

Starting a Service
摘要:https://docs.microsoft.com/en-us/windows/win32/services/starting-a-service 05/31/2018 To start a service, a service control program opens a handle to 阅读全文

posted @ 2021-01-28 14:11 liujx2019 阅读(90) 评论(0) 推荐(0)

socket 相关文章
摘要:http://beej.us/guide/bgnet/ https://opensource.com/article/19/4/interprocess-communication-linux-networking https://github.com/edersoncorbari/socket-t 阅读全文

posted @ 2021-01-28 14:10 liujx2019 阅读(41) 评论(0) 推荐(0)

socket 双向
摘要:可以搜索 conversation, bidirectional, two-way 阅读全文

posted @ 2021-01-28 09:11 liujx2019 阅读(48) 评论(0) 推荐(0)

winsock Options
摘要:https://docs.microsoft.com/en-us/windows/win32/winsock/sol-socket-socket-options 阅读全文

posted @ 2021-01-27 15:38 liujx2019 阅读(50) 评论(0) 推荐(0)

winsock 主动切断连接 Connection Setup and Teardown
摘要:https://docs.microsoft.com/en-us/windows/win32/winsock/connection-setup-and-teardown-2 05/31/2018 The WSAAccept function lets an application obtain ca 阅读全文

posted @ 2021-01-27 14:38 liujx2019 阅读(108) 评论(0) 推荐(0)

RedHat 修改etc/resolv.com 添加DNS,重启网络,文件就被重置了
摘要:RedHat5.5的/etc/resolv.conf文件被复写的解决 [日期:2013-06-08] 来源:Linux社区 作者:wangyublues [字体:大 中 小] 公司RedHat5.5系统,配置了/etc/resolv.conf文件后重启网络服务,此文件内容就被复写了。经过查看红帽官方 阅读全文

posted @ 2021-01-06 17:51 liujx2019 阅读(445) 评论(0) 推荐(0)

NTP报文格式
摘要:出处:https://blog.csdn.net/dosthing/article/details/81588219?utm_medium=distribute.pc_relevant.none-task-blog-searchFromBaidu-1.control&depth_1-utm_sour 阅读全文

posted @ 2020-12-02 18:13 liujx2019 阅读(1821) 评论(0) 推荐(0)

Bug 63687 - High Memory usage after upgrade to 2.4.41
摘要:https://bz.apache.org/bugzilla/show_bug.cgi?id=63687 阅读全文

posted @ 2020-12-02 16:07 liujx2019 阅读(56) 评论(0) 推荐(0)

winsock server 示例代码中 shutdown 的选项
摘要:When the server is done sending data to the client, the shutdown function can be called specifying SD_SEND to shutdown the sending side of the socket. 阅读全文

posted @ 2020-09-16 18:03 liujx2019 阅读(193) 评论(0) 推荐(0)

winsock 的 SO_REUSEADDR 选项
摘要:by Nikolai Fetissov First, make sure you set SO_REUSEADDR option on the server socket to be able to re-start listening. Then, I'm guessing, your probl 阅读全文

posted @ 2020-09-16 18:01 liujx2019 阅读(340) 评论(0) 推荐(0)

Windows API 获取 WIFI 信号强度 (C++)
摘要:WlanQueryInterface function https://docs.microsoft.com/zh-cn/windows/win32/api/wlanapi/nf-wlanapi-wlanqueryinterface?redirectedfrom=MSDN 2018/12/05 Th 阅读全文

posted @ 2020-09-02 15:35 liujx2019 阅读(1441) 评论(0) 推荐(0)

libcurl 断点续传
摘要:HTTP ranges by bagder https://ec.haxx.se/libcurl-http/libcurl-http-ranges Re: Ranged PUTs, Content-Range, and Content-Length https://curl.haxx.se/mail 阅读全文

posted @ 2020-09-02 09:39 liujx2019 阅读(357) 评论(0) 推荐(0)

Windows cURL 如何看花了多少时间
摘要:-s -o /dev/null -w "%{time_starttransfer}\n" -s 不显示进度条, -o 输出重定向到 /dev/null. -w 用格式 time_starttransfer 取出 the response time. 出处:https://dev.to/yuyatak 阅读全文

posted @ 2020-08-25 10:03 liujx2019 阅读(440) 评论(0) 推荐(0)

服务器返回 HTTP 500
摘要:把自己伪装成浏览器 Some servers (especially requested with SSL) returns 500 in cases when some parameters of request is set incorrect. To avoid «500 error» (fo 阅读全文

posted @ 2020-08-07 15:44 liujx2019 阅读(644) 评论(0) 推荐(0)

When curl sends 100-continue
摘要:When curl sends 100-continue When sending a POST request with curl it sometimes automatically adds an Expect: 100-continue header. The following summa 阅读全文

posted @ 2020-07-17 18:14 liujx2019 阅读(200) 评论(0) 推荐(0)

How to permit SSH root Login in Ubuntu 18.04
摘要:https://www.ubuntu18.com/ssh-permitrootlogin/ SSH root login is disabled by default in Ubuntu 18.04. SSH server for Ubuntu provides by the openssh-ser 阅读全文

posted @ 2019-12-05 15:14 liujx2019 阅读(784) 评论(0) 推荐(0)

SNMP History and OID/MIB Tour
摘要:https://www.pei.com/snmp-history-oid-mib/ Description: This document describes a bit of history and functionality of the SNMP protocol for monitoring. 阅读全文

posted @ 2019-12-03 18:03 liujx2019 阅读(297) 评论(0) 推荐(0)

Ubuntu syslog 太多的 named[1195]: error (network unreachable) resolving './DNSKEY/IN': 2001:7fd::1#53
摘要:Edit file /etc/default/bind9: 只使用 IPv4. 以上log是因为IPv6网络设置不当造成的。 阅读全文

posted @ 2019-10-30 14:59 liujx2019 阅读(2105) 评论(0) 推荐(0)

Python [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed 解决方法
摘要:http://bookshadow.com/weblog/2015/04/22/sae-python-weibo-sdk-certificate-verify-failed/ 一个搭建在SAE上的Django应用,使用新浪微博提供的Python SDK已经稳定运行一年有余,但最近开始持续出现微博认证 阅读全文

posted @ 2019-01-28 16:50 liujx2019 阅读(1967) 评论(0) 推荐(0)

导航