Search:

Type: Posts; User: mantry

Search: Search took 0.11 seconds.

  1. Re: How to abort the connection for CTRL-C in FTP in java programming on UNIX

    while ((block = queue.next()) != null) {
    int count = block.getUsed();
    writer.write(block.getData(), 0, count);
    bytes += count;
    block.free(blocks);
    block = null;
    }
    ...
  2. How to abort the connection for CTRL-C in FTP in java programming on UNIX

    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...
Results 1 to 2 of 2