Question

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?

how to achieve transfer file between client and server using java socket

Was it helpful?

Solution

The 'while' loops read and write in chunks.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top