![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
网络
sunStd
Time is a file that wears and makes no noise
展开
-
一个最简单python server, python3版本.
#!/usr/bin/env python#--coding:utf-8-- from http.server import HTTPServer,SimpleHTTPRequestHandlerfrom os import pathdef run(): port = 8000 print('starting server, port', port) # Server settings server_address = ('', port) http.原创 2020-10-08 08:26:59 · 319 阅读 · 0 评论 -
Conda cannot proceed due to an error in your proxy configuration
执行conda install 出现错误.ProxyError: Conda cannot proceed due to an error in your proxy configuration.Check for typos and other configuration errors in any '.netrc' file in your home directory,any ...原创 2020-02-15 12:00:21 · 8535 阅读 · 5 评论 -
TCP send 阻塞与非阻塞
原文连接:http://blog.chinaunix.net/uid-8489474-id-2031025.htmltcp协议本身是可靠的,并不等于应用程序用tcp发送数据就一定是可靠的.不管是否阻塞,send发送的大小,并不代表对端recv到多少的数据.在阻塞模式下, send函数的过程是将应用程序请求发送的数据拷贝到发送缓存中发送就返回.但由于发送缓存的存在,表现为转载 2015-03-18 13:57:23 · 22172 阅读 · 1 评论