
网络
liupengying
这个作者很懒,什么都没留下…
展开
-
linux中用telnet如何构造get、post请求头报文
例 GET /index.html HTTP/1.1 Accept: 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 · 2896 阅读 · 0 评论 -
python关于httplib、httplib2、urllib、urllib2、request、socket库,发送http请求
http://sebug.net/paper/books/dive-into-python3/http-web-services.html http://code.google.com/p/httplib2/wiki/Examples https://docs.python.org/2/library/httplib.html转载 2014-04-22 09:52:06 · 1308 阅读 · 0 评论 -
c语言 判断ip是否合法的简单例子
if (inet_pton(AF_INET, ip, (void *)&addr) printf("Invalid ip address.\n"); return -1; }原创 2014-08-12 14:08:50 · 1524 阅读 · 0 评论