Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #4157 > unrolled thread
| Started by | Enzo Benvenuti <e.benvenuti@tedvalet.com> |
|---|---|
| First post | 2012-09-25 16:04 +0200 |
| Last post | 2012-09-25 07:24 -0700 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
Seek PC on lan Enzo Benvenuti <e.benvenuti@tedvalet.com> - 2012-09-25 16:04 +0200
Re: Seek PC on lan dlzc <dlzc1@cox.net> - 2012-09-25 07:24 -0700
| From | Enzo Benvenuti <e.benvenuti@tedvalet.com> |
|---|---|
| Date | 2012-09-25 16:04 +0200 |
| Subject | Seek PC on lan |
| Message-ID | <k3sdm2$roc$1@tdi.cu.mi.it> |
I need to test if a PC is connected to my lan.
I am trying GetIpAddres() function.
Here to you my code:
..........
for 1 := 1 upto Alen(aPCNames)
if GetIpAddress(aPCNames[i]) == null_string
warning(self, aPcNames[i])
endif
next
...........
It seems work fine but switching off a PC, my program doesn't view it
(perhaps my PC keeps in cache memory the list of PC and Ip Address ?).
Thank you
Enzo Benvenuti
[toc] | [next] | [standalone]
| From | dlzc <dlzc1@cox.net> |
|---|---|
| Date | 2012-09-25 07:24 -0700 |
| Message-ID | <d04e74e1-e382-4ae4-ba59-92d8d274f4ba@googlegroups.com> |
| In reply to | #4157 |
Dear Enzo Benvenuti: On Tuesday, September 25, 2012 7:04:50 AM UTC-7, Enzo Benvenuti wrote: > I need to test if a PC is connected to my lan. ... > It seems work fine but switching off a PC, my > program doesn't view it (perhaps my PC keeps > in cache memory the list of PC and Ip Address ?). If I were doing this, I would invoke the PING utility, single ping with short wait, and parse the program output to see if there was success. You may have similar functionality built into VO. David A. Smith
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web