继续编写FtpServer。遇到难题: 接收数据如何读到没有为止?
判断是否遇到End of File?
twd2 于 2011-2-19 1:02:37 回复 询问神犇以解决问题。已解决: 用Read(buffer,offset,length)可读, 若返回值为0则说明已经读完。
询问神犇以解决问题。已解决: 用Read(buffer,offset,length)可读, 若返回值为0则说明已经读完。
注意 - 你可以用以下 HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
昵称
邮箱
网址
Δ
bug RISC-V 业务 今日 优化 作业 修 修改 写 准备 博士 又是 吃 复习 大觉 学习 完成 实验 开始 快乐 总结 惊悚 报告 撰写 改 数学 旅游 期中 期末 材料 测试 物理 睡大觉 睡觉 系统 组会 统练 继续 网络 考试 英国 英语 论文 还是 阅读
判断是否遇到End of File?