简体   繁体   English

缓冲类和发送/接收数据

[英]Buffered classes and sending/receiving data

In the following question are the bytes handled by the Buffered classes such that the File is implicitely cut up into smaller blocks or are the bytes sent all in one go? 在下面的问题中,是由Buffered类处理的字节,这样就隐式地将File分割为较小的块,还是一次发送完所有字节?

how to achieve transfer file between client and server using java socket 如何使用Java套接字实现客户端和服务器之间的文件传输

“ while”循环按块读取和写入。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM