bala kan wrote:
the receiver should receive the message from the sender.. but, if it does not receive the message for 5 more seconds, the message "no communication" should appear.. we did this using sockettimeoutexception..
the communication should restart even after throwing sockettimeoutexception..
but in our program, it closes the socket and displays "no communication" message..
Hi, and welcome to the Ranch!
You have a bug in your code. The solution to this problem is: Fix the bug.
If you need a more detailed answer than that, you'll need to
TellTheDetails(⇐click) or your problem, including an
SSCCE(⇐click).