Dear all,

I am now writing a ftp client on Palm to talk with NT IIS. When I 'put'
the 14th file into PC, the server cannot open data connection. After
detail inspection of the packets, I found that the server sends SYN to
client but client responds with RST,ACK. The server tried 4 times and
abort, sending '425 Can't open data connection' to client.

Then I guess:
1. Max. number of sockets open at a time is 16
2. There are 14 time-wait state socket. (since client invokes active
close, client will enter time-wait state after close())
3. If I add 14 and the original control socket and the listening socket,
I get 16. That means no more socket is available until time-wait state
socket free the socket.

Question:
1. If there are a command that the client asks the server to invoke the
active close, then the problem is solved. But are there such a command?
2. Can I change time-wait state time (2MSL) in Palm?
3. Can I skip time-wait state ?
4. Any other method please?

I understand that this problem may be specific to palm. Hence, I think
that I cannot get help from comp.protocols.tcp-ip for example. I am
appreciated if you would like to help me. Any pointers to direct me to
the right place is also welcomed!

Thanks in advance!

philip


Reply via email to