摘要:
Http协议是无状态的,即服务端仅仅能通过你本次提交的http请求来给出响应。cookie可用于服务端标记client。如登陆过后免输password,购物车实现等。 1.cookie Cookie能够通过js代码生成,也能够通过HttpResponse头部中的Set-Cookie属性向浏览器说明。 阅读全文
posted @ 2017-04-17 10:42
gccbuaa
阅读(226)
评论(0)
推荐(0)
摘要:
write by http://blog.csdn.net/bojie5744 bj_末雨 udp sender [cpp] view plaincopyprint? #include "stdafx.h" #include <string> #include <boost/asio.hpp> us 阅读全文
posted @ 2017-04-17 10:41
gccbuaa
阅读(7837)
评论(0)
推荐(0)
摘要:
Java NIO的ServerSocketChannel是用来监听外来TCP连接的channel,就想标准Java网络中的ServerSocket。实比例如以下: ServerSocketChannel serverSocketChannel = ServerSocketChannel.open() 阅读全文
posted @ 2017-04-17 09:22
gccbuaa
阅读(186)
评论(0)
推荐(0)