socket server disconnect
I have a tcp/ip socket server application that receives messages threw a router.
my hardware sits on wireless network, creating messages, and pushes them to a tunneling router than in it's time push the messages to a middleware PC
with a socket server program, listening for the data.
my problem is, when i disconnect the tunneling router and reconnect, the connection breaks, and I can't keep receiving messages from the router.
this causes an instability issue for me, since network crashes can happen, and I need my network to survive them.
what you think might be the problem?
How can I solve it?
any help will be most appreciated.

