Re: [Lazarus] Library or Unit that can help to check network connectivity.

2013-06-25 Thread Antonio Fortuny


Le 25/06/2013 07:34, Eric Kom a écrit :

Good day Dear,

Please I am currently looking for library/unit that I can use to check 
network connectivity.

Indy + TIdIcmpClient then Ping.
Look at http://kumanov.com/docs/prog/indy/007395.html
Indy 10.5.9 compiles OK with Lazarus+FPC

Antonio.

Hoping I will find a help.






--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Library or Unit that can help to check network connectivity.

2013-06-25 Thread Graeme Geldenhuys
On 2013-06-25 08:29, Antonio Fortuny wrote:
 Indy + TIdIcmpClient then Ping.


Not all systems on a network will reply to a ping test? I know my
systems don't, because I disabled it for security reasons.


Regards,
  - Graeme -


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Library or Unit that can help to check network connectivity.

2013-06-25 Thread Antonio Fortuny

  
  

Le 25/06/2013 10:24, Graeme Geldenhuys
  a crit:


  On 2013-06-25 08:29, Antonio Fortuny wrote:

  
Indy + TIdIcmpClient then Ping.

  
  

Not all systems on a network will reply to a ping test? I know my
systems don't, because I disabled it for security reasons.

That's right. You only have to use a well known internal or external
machine which will answer ping requests, i.e. 8.8.8.8 always
responds to ICMP ping rquests.
You can even check wether the internal connection works by choosing
a well known internal machine. 
This way will make you sure that you either have an access to the
intra or extra network or none.

  


Regards,
  - Graeme -


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus



-- 
  

  
  
  
  
 Antonio
Fortuny
  Senior Software engineer
  
  220, avenue de la Libert
  L-4602 Niederkorn
  Tel.: +352 58 00 93 - 93
  www.sitasoftware.lu

  
  
  
  

  

  

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Library or Unit that can help to check network connectivity.

2013-06-25 Thread Paul Breneman

On 06/25/2013 12:34 AM, Eric Kom wrote:

Good day Dear,

Please I am currently looking for library/unit that I can use to check
network connectivity.

Hoping I will find a help.



The other replies about doing pings look good.  About 15 years ago I 
wrote up an answer to this question:

  http://www.brenemanlabs.com/iConnect.htm

My answer also has some clues for the old days when using a modem to 
call an ISP but pinging is discussed at the bottom.  :)



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Library or Unit that can help to check network connectivity.

2013-06-24 Thread Eric Kom

Good day Dear,

Please I am currently looking for library/unit that I can use to check 
network connectivity.


Hoping I will find a help.

--
Kind Regards

Eric Kom

System Administrator  Programmer - Metropolitan College
 _
/ You are scrupulously honest, frank, and \
| straightforward. Therefore you have few |
\ friends./
 -
   \
\
.--.
   |o_o |
   |:_/ |
  //   \ \
 (| Kom | )
/'\_   _/`\
\___)=(___/

2 Hennie Van Till, White River, 1240
Tel: 013 750 2255 | Fax: 013 750 0105 | Cell: 078 879 1334
eric...@kom.za.net | eric...@metropolitancollege.co.za
www.kom.za.net | www.kom.za.org | www.erickom.co.za

Key fingerprint: 513E E91A C243 3020 8735 09BB 2DBC 5AD7 A9DA 1EF5


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus