CAsyncSocket - Connected or not?
- From: Anders Eriksson <andis59@xxxxxxxxx>
- Date: Sun, 29 Jun 2008 21:22:51 +0200
Hello,
I starting to do my first Client/Server application. We are using TCP/IP.
I'm doing the Client, The server already exists. I'm programming in VC++
2005 MFC using CAsyncSocket.
In the specification is says that the client will connect to the Server and
then both server and client may start a transaction. there may only be one
transaction alive at the time.
I'm a bit confused about how I now if the connection is alive or not. I
know that one of the test that will be done is to remove the network cable
and after 5-10 minutes attach it again and now the connection has to be
continued.
Will the connection be aborted by removing the network cable?
Can I test if the connection is alive or not?
// Anders
--
English is not my first, or second, language
so anything strange, or insulting, is due to
the translation.
Please correct me so I may improve my English!
.
- Follow-Ups:
- Re: CAsyncSocket - Connected or not?
- From: Joseph M . Newcomer
- Re: CAsyncSocket - Connected or not?
- From: Geoff
- Re: CAsyncSocket - Connected or not?
- Prev by Date: Re: CEdit ampersand character handling
- Next by Date: Re: error R6031
- Previous by thread: Re: CEdit ampersand character handling
- Next by thread: Re: CAsyncSocket - Connected or not?
- Index(es):
Relevant Pages
|