Detect LAN Connection - wireless LAN card 
Author Message
 Detect LAN Connection - wireless LAN card

Hi
I need to write a program that runs on a system having a
wireless LAN card. Whenever this system it gets into the
LAN, I have to run a process on this machine and then
download a few files from the server. My question is - how
do I know when the system has gotten connected to the LAN?

Thanks in advance
Hari



Wed, 09 Feb 2005 22:36:30 GMT  
 Detect LAN Connection - wireless LAN card
Try pinging a machine on the network.  If you can successfully reach the
machine, the machine is on the network.


Quote:
> Hi
> I need to write a program that runs on a system having a
> wireless LAN card. Whenever this system it gets into the
> LAN, I have to run a process on this machine and then
> download a few files from the server. My question is - how
> do I know when the system has gotten connected to the LAN?

> Thanks in advance
> Hari



Thu, 10 Feb 2005 18:11:11 GMT  
 Detect LAN Connection - wireless LAN card
Hi Chris
Thanks for the response. But the problem I have is that
this machine with the wireless LAN can enter into various
LAN envirnoments. There will be many private LAN
envirnoments. New small LAN envirnoments can be added /
removed without prior intimation to this mobile system.
Since it is not possible to know which private LAN the
machine is in, I will not be able to ping (or is it
possible...? Please tell me if it is)

Regards
Hari

Quote:
>-----Original Message-----
>Try pinging a machine on the network.  If you can

successfully reach the
Quote:
>machine, the machine is on the network.



>> Hi
>> I need to write a program that runs on a system having a
>> wireless LAN card. Whenever this system it gets into the
>> LAN, I have to run a process on this machine and then
>> download a few files from the server. My question is -
how
>> do I know when the system has gotten connected to the
LAN?

>> Thanks in advance
>> Hari

>.



Fri, 11 Feb 2005 14:11:55 GMT  
 Detect LAN Connection - wireless LAN card
Check for the local IP address.
if the IP = 127.0.0.1, then you are not connected,
if the IP returns something else, you are connected.

Bye,
Kris


Quote:
> Hi
> I need to write a program that runs on a system having a
> wireless LAN card. Whenever this system it gets into the
> LAN, I have to run a process on this machine and then
> download a few files from the server. My question is - how
> do I know when the system has gotten connected to the LAN?

> Thanks in advance
> Hari



Fri, 11 Feb 2005 19:39:19 GMT  
 Detect LAN Connection - wireless LAN card
well, this only works if there is an active dhcp-server on that network.
i doubt that though, since he wrote that the the machine with the
wireless card will connect to different private networks, which by
default don't have dhcp-servers configured ...

greets

Wauters Kris schrieb:

Quote:
> Check for the local IP address.
> if the IP = 127.0.0.1, then you are not connected,
> if the IP returns something else, you are connected.

> Bye,
> Kris



>>Hi
>>I need to write a program that runs on a system having a
>>wireless LAN card. Whenever this system it gets into the
>>LAN, I have to run a process on this machine and then
>>download a few files from the server. My question is - how
>>do I know when the system has gotten connected to the LAN?

>>Thanks in advance
>>Hari



Sat, 23 Apr 2005 21:37:13 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Finding out modem/Wireless LAN card?

2. How do I detect a LAN connection - quickly?

3. Detecting LAN connection

4. eVB and IPAQ H5450 Wireless LAN

5. LAN Connection after Modem Connection

6. How to retrieve Hard Disk and/or LAN Card Serial Numbers

7. accessing another program via lan cards ?

8. Info on LAN card

9. retrieve the LAN card ID

10. How to get the LAN card ID ?

11. help - data passing on the lan card

12. WINSOCK.OCX - Multiple LAN Cards

 

 
Powered by phpBB® Forum Software