This topic has been archived. It cannot be replied.
-
工作学习 / 专业技术讨论 / Does anyone know how to read from telnet socket?The read() only returns 1 character a time for command line echo. And rest outputs are in a few reads. How can I determine which one is the last piece of output data?
-diresu(手气不错);
2006-6-21
{166}
(#3039342@0)
-
你是指telnet协议吗?客户端自己需要判断是否得到一个完整的命令。去查RFC吧。
-holdon(again);
2006-6-23
(#3043450@0)