1
binux 2013-12-09 17:58:18 +08:00
do it yourself
|
2
bigeagle 2013-12-09 19:28:16 +08:00
This is definitely application logic, which TCP should not handle.
So keep calm and implement it yourself. |
3
VYSE 2013-12-09 19:45:09 +08:00
socket.makefile
then readline |
4
rrfeng 2013-12-09 19:49:47 +08:00
while ‘\r\n’ not in data
data+=recv() |
6
sgissb1 2013-12-09 21:45:25 +08:00
ni hao !
ni wei shen me zhe me diao ? ni wei shen me yao mei ci du yi hang? |
7
bombless 2013-12-10 13:27:37 +08:00
噗,肯定要缓存结果的,TCP是8位流又不是数据包。
|