Thread View: borland.public.cppbuilder.internet.socket
3 messages
3 total messages
Started by B
Mon, 17 Sep 2007 19:18
Checking If Online
Author: B
Date: Mon, 17 Sep 2007 19:18
Date: Mon, 17 Sep 2007 19:18
6 lines
1094 bytes
1094 bytes
What is the fastest, least resource intensive way to make sure you are online? C++ builder 6 native code sample if possible. Thanks!!
Re: Checking If Online
Author: Bruce Salzman
Date: Mon, 17 Sep 2007 23:49
Date: Mon, 17 Sep 2007 23:49
11 lines
1238 bytes
1238 bytes
"B" <traderr@gmail.com> wrote in message news:46eed306@newsgroups.borland.com... > What is the fastest, least resource intensive way to make sure you are > online? > ping the server of your choice? -- Bruce
Re: Checking If Online
Author: Remy Lebeau (TeamB)
Date: Wed, 19 Sep 2007 03:49
Date: Wed, 19 Sep 2007 03:49
20 lines
1621 bytes
1621 bytes
"B" <traderr@gmail.com> wrote in message
news:46f09939@newsgroups.borland.com...
> there is no ping("www.dvdrental.com") command...
There is if you use a ping component/class ;-)
> the TidicmpClient doesn't work for me
You need to be more specific. Just saying that something does not work says
nothing about the actual problem you are having with it.
> I would also like to get the IP address of the domain pinged.
You need to perform a separate DNS lookup for that. Indy has a
ResolveHost() method for that in the TIdStack class.
Gambit
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads