while ((block = queue.next()) != null) {
int count = block.getUsed();
writer.write(block.getData(), 0, count);
bytes += count;
block.free(blocks);
block = null;
}
...
Type: Posts; User: mantry
while ((block = queue.next()) != null) {
int count = block.getUsed();
writer.write(block.getData(), 0, count);
bytes += count;
block.free(blocks);
block = null;
}
...
Hi Friends,
I have a clinet and server socket programming.
and the client is writting some data to server. It has to stop writting and throw IOException when I enter CTRL-C
when I do the...