Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #4157

Seek PC on lan

From Enzo Benvenuti <e.benvenuti@tedvalet.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Seek PC on lan
Date 2012-09-25 16:04 +0200
Organization C.U. srl News Server
Message-ID <k3sdm2$roc$1@tdi.cu.mi.it> (permalink)

Show all headers | View raw


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

Back to comp.lang.clipper.visual-objects | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

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

csiph-web