![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
网络
liupengying
这个作者很懒,什么都没留下…
展开
-
linux中用telnet如何构造get、post请求头报文
例GET /index.html HTTP/1.1Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, application/msword, application/vnd.ms-powerpoint, application/vnd.ms-excel, */*A原创 2014-04-04 13:00:56 · 2813 阅读 · 0 评论 -
python关于httplib、httplib2、urllib、urllib2、request、socket库,发送http请求
http://sebug.net/paper/books/dive-into-python3/http-web-services.htmlhttp://code.google.com/p/httplib2/wiki/Exampleshttps://docs.python.org/2/library/httplib.html转载 2014-04-22 09:52:06 · 1266 阅读 · 0 评论 -
c语言 判断ip是否合法的简单例子
if (inet_pton(AF_INET, ip, (void *)&addr) printf("Invalid ip address.\n"); return -1; }原创 2014-08-12 14:08:50 · 1465 阅读 · 0 评论