Thread View: borland.public.cppbuilder.internet.socket
6 messages
6 total messages
Started by BJ
Fri, 21 Oct 2005 21:05
Ping
Author: BJ
Date: Fri, 21 Oct 2005 21:05
Date: Fri, 21 Oct 2005 21:05
4 lines
971 bytes
971 bytes
Hi, Does anyone know how to ping a device programaticially? I need to know if a device is there before I send out information.
Re: Ping
Author: Michael Gillen
Date: Fri, 21 Oct 2005 21:25
Date: Fri, 21 Oct 2005 21:25
12 lines
1101 bytes
1101 bytes
BJ wrote: > Does anyone know how to ping a device programaticially? I need to know if a device is there > before I send out information. Using Indy components: http://www.indyproject.org/Sockets/Download/index.en.iwp IdIcmp->Host = IP_or_host_to_ping; IdIcmp->Ping(); -- -Michael Gillen
Re: Ping
Author: BJ
Date: Fri, 21 Oct 2005 22:25
Date: Fri, 21 Oct 2005 22:25
16 lines
1279 bytes
1279 bytes
>Using Indy components: >http://www.indyproject.org/Sockets/Download/index.en.iwp > >IdIcmp->Host = IP_or_host_to_ping; >IdIcmp->Ping(); > >-- >-Michael Gillen Hi Michael, Thanks. But I am insterested in how programaticially ping an IP. What type of info do I need to send out to a socket so I can receive a response from the IP device. Thanks.
Re: Ping
Author: Remy Lebeau (TeamB)
Date: Sat, 22 Oct 2005 02:08
Date: Sat, 22 Oct 2005 02:08
16 lines
1582 bytes
1582 bytes
"BJ" <caophong@gmail.com> wrote in message news:43596ace$1@newsgroups.borland.com... > I am insterested in how programaticially ping an IP. That is exactly what the TIdIcmpClient component of the Indy library does. > What type of info do I need to send out to a socket so I can > receive a response from the IP device. Pinging is a very low-level operation. It is not performed using a TCP or UDP socket. It uses a RAW socket instead. Gambit
Re: Ping
Author: Michael Gillen
Date: Sun, 23 Oct 2005 19:12
Date: Sun, 23 Oct 2005 19:12
12 lines
1208 bytes
1208 bytes
BJ wrote: > Thanks. But I am insterested in how programaticially ping an IP. > What type of info do I need to send out to a socket so I can receive a response from the IP > device. In that case, these may help. http://www.topjimmy.net/tjs/files/ping32.zip http://www.sockets.com/ms_icmp.htm -- -Michael Gillen
Re: Ping
Author: BJ
Date: Wed, 26 Oct 2005 18:06
Date: Wed, 26 Oct 2005 18:06
9 lines
1184 bytes
1184 bytes
>In that case, these may help. >http://www.topjimmy.net/tjs/files/ping32.zip >http://www.sockets.com/ms_icmp.htm > >-- >-Michael Gillen Thanks Guys. Wow, I thought you can ping using TCP. Ha, mistake on me.
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