James P.
James P.

Reputation: 19617

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?

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

Upvotes: 0

Views: 565

Answers (1)

user207421
user207421

Reputation: 310980

The 'while' loops read and write in chunks.

Upvotes: 3

Related Questions