H
Helene Unterwieser
Hi all,
i have a rather nasty problem here and the situation is pretty critical
so please help wit anything that comes to your mind.
There is a thread with a server socket which accepts a connection and
spawns another thread with the created client socket. The connection
works for some time without problems. Then a IOException is thrown when
writing to the client socket, either "Connection reset" or "Connection
timed out". To handle the broken connection, the client socket should
then be closed by the thread but hangs in the close method forever.
So the question is how can a "Connection reset" or "Connection timed
out" be reproduced when sending data? If this is possible maybe the hang
on close can be reproduced.
i have a rather nasty problem here and the situation is pretty critical
so please help wit anything that comes to your mind.
There is a thread with a server socket which accepts a connection and
spawns another thread with the created client socket. The connection
works for some time without problems. Then a IOException is thrown when
writing to the client socket, either "Connection reset" or "Connection
timed out". To handle the broken connection, the client socket should
then be closed by the thread but hangs in the close method forever.
So the question is how can a "Connection reset" or "Connection timed
out" be reproduced when sending data? If this is possible maybe the hang
on close can be reproduced.