socket server disconnect

Hello, I need your help and guidance, I am feeling lost.

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.
[755 byte] By [gizmokaka] at [2007-11-20 11:18:02]
# 1 Re: socket server disconnect
Are you sure you're in the right forum? Is this a C# question or a networking question?
asantavicca at 2007-11-9 11:36:36 >
# 2 Re: socket server disconnect
my application is written in c#, but most likely it's a networking question, therefor, I think it's quite OK in both places.
but you might be right, I don't care if It will be moved to a better place.

just notify me, so I know where to look.

thnx.
gizmokaka at 2007-11-9 11:37:36 >