tcpClient reconnect?
tcpClient reconnect?
tcpClient reconnect?
tcpClient reconnect?
tcpClient reconnect?
tcpClient reconnect? tcpClient reconnect? tcpClient reconnect? tcpClient reconnect? tcpClient reconnect? tcpClient reconnect? tcpClient reconnect? tcpClient reconnect?
tcpClient reconnect? tcpClient reconnect?
tcpClient reconnect?
Go Back  Xtreme Visual Basic Talk > > > tcpClient reconnect?


Reply
 
Thread Tools Display Modes
  #1  
Old 12-18-2012, 10:24 AM
PeetSoft's Avatar
PeetSoft PeetSoft is offline
Centurion
 
Join Date: Jun 2003
Location: HHW - the Netherlands
Posts: 184
Default tcpClient reconnect?


My app logs in to a certain IP-address and port to retrieve data from a server.
The app sends an 'alive' msg every minute (required by server).

When serverside is down for some reason, my app has to reconnect.
The app is stand-alone and unmonitored by personnel.....

I tried to use a timer, which every 5 seconds polls the tcpclient.client, whether it can read, write or errors....

But it never gets there, a soon as the server (TCP/IP) goes down, the app freezes as well as the VS2010 IDE

Any suggestion?

t.i.a.
__________________
-----------------------------------------------------
If debugging is the art of removing bugs, then
programming must be the art of inserting them.
I do comply with Flyguy's signature (If he still had one)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
tcpClient reconnect?
tcpClient reconnect?
tcpClient reconnect? tcpClient reconnect?
tcpClient reconnect?
tcpClient reconnect?
tcpClient reconnect? tcpClient reconnect? tcpClient reconnect? tcpClient reconnect? tcpClient reconnect? tcpClient reconnect? tcpClient reconnect?
tcpClient reconnect?
tcpClient reconnect?
 
tcpClient reconnect?
tcpClient reconnect?
 
-->