摘要:
1、客户端握手请求(注意:键值之间有一个空格,行间有换行符号0x13x10或者说\r\n)GET /WebSocket/LiveVideo HTTP/1.1Upgrade: WebSocketConnection: UpgradeHost: localhost:8080 (客户端请求主机)Origin: http://127.0.0.1 (来源网页地址)Sec-WebSocket-Key1: 23 asdfJKj,asdjkSec_WebSocket-Key2: wewerw234 jij9980x13x10 + 8个字节Sec_WebSocket-Key3值,没有键名(注意,这里的0x13x 阅读全文
posted @ 2011-03-21 14:19
alby
阅读(2426)
评论(3)
推荐(0)

浙公网安备 33010602011771号