-
February 7th, 2002, 07:15 PM
#1
Detecting if a computer (on my network) is on.
I have a list of computer names for my network and I need to check each one of those to see if they are active. Kind of like doing a ping (but I can't use CPing, or CSocket) but I need an alternate method. Can someone give me some hints here?
THanks in advance...
-Cube
-
February 7th, 2002, 07:28 PM
#2
Re: Detecting if a computer (on my network) is on.
If you can use the ICMP set of functions (IcmpSendEcho among others), you can roll your own "ping".
Of course, whithout knowing WHAT you can use, it's hard to answer. If CPing/CSocket out because you can't use MFC ? or because you can't use sockets, or can't use TCP/IP or ?
-
February 8th, 2002, 10:22 PM
#3
Re: Detecting if a computer (on my network) is on.
Hi,
Take a look at this post I did for a guy who wanted to detect all PC's on a network. It might be possible for you to use this to solve your problem.
http://www.codeguru.com/cgi-bin/bbs/...age=&view=&sb=
Hope this helps,
Lee.
Relax and Enjoy!!!
P.S. You would be amazed at how few people have the common decency to say if an answer helped (or not).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|