Re: Detecting a dropped connection
- From: "Alexander Nickolov" <agnickolov@xxxxxxxx>
- Date: Thu, 29 Jun 2006 11:54:05 -0700
You close your dead socket and open another one, then
attempt to connect to your server using the new socket.
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@xxxxxxxx
MVP VC FAQ: http://www.mvps.org/vcfaq
=====================================
"Daniel" <DanielV@xxxxxxxxxxxxxxxx> wrote in message
news:OkUfDn5mGHA.1204@xxxxxxxxxxxxxxxxxxxxxxx
Hey guys
Many apps have a 'reconnecting' and so on when someone loses their
connection. How do you implement something like this?
I need to be able to try and reconnect clients to the server but of course
if their conenction is lost then there clientSocket is null. So how can
you find them?
How do you implement things like this in sockets?
Thanks
.
- References:
- Detecting a dropped connection
- From: Daniel
- Detecting a dropped connection
- Prev by Date: Re: How to listen to more a specific IP and specific ports
- Next by Date: Re: blocking non blocking
- Previous by thread: Detecting a dropped connection
- Next by thread: Re: Detecting a dropped connection
- Index(es):
Relevant Pages
|