[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
DO problem: long lasting transfers
From: |
Rene Cornils |
Subject: |
DO problem: long lasting transfers |
Date: |
Sat, 6 Oct 2001 09:49:36 +0200 (METDST) |
Hi,
when a server is going to transfer a couple MB of data over a network, the
following exception occurs on the client side:
NSPortTimeoutException: timed out waiting for reply
After the client has disconnected the server, the server is logging
write attempt failed - Broken pipe
No handle for event on descriptor 4
Port operation timed out - method reply - port was invalidated
IMHO it seems to be that the internal timeout counter is not noticing that
indeed data is coming in and fails if the transfer has not been finished
after a certain time.
Is this a bug or how do I avoid the problem?
Attached you can find some test code. The problem is best seen if the
processes are located on different machines.
Thanks,
Rene
P.S. BTW, same problem if the remote method is'n returning anything but
the work it does is lasting for a longer time.
clientServer.tar.gz
Description: Binary data
- DO problem: long lasting transfers,
Rene Cornils <=