This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hello everybody, This is my first time, and i am looking for some answers in vain, nobody seems to know the answer, any suggestions would be greatly appreciated.
First; i am running a website and a DigiChatroom on windows XP machine, the problem i am having at the moment is: if i connect to the chatroom from the server or inside the network i can stay logged on for days if i need to, but if i connect from outside the network and i am idle for about 5 to 10 mins it will freeze the chatroom i can't type anything, but the chatroom window still open and then few minutes later the window will close and i get the following error message: "The connection to the DigiChat was unexpectedly broken. Java.net SocketException: Software caused connection Abort recv failed"
It was working fine before, I even disabled the firewalls on the server as well as the remote pc i was using, tried to identify where the problem is. same thing no changes, i heard that it could be a Tcp issue, but i don't understand what can cause this.
If anyone here can help me, it would be really appreciated
Since there is no data transfer between the client and the server for long time periods the external network probably disconnects you after a certain period of inactivity, so you could try sending a keepalive packet after a specific time period say every 5 mins.
Thanks,<br />Premil<br /> <br />SCJP 1.4
Joined: Mar 11, 2005
Hello and thanks for your reply :-)
Hoe can I try sending a keepalive packet after a specific time? But why do you think it suddenly started disconnecting users?
before we could stay connected for days if we wanted to, and now no more than 5 mins.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus