Online or not

I want a method from win api or something that tells me if my computer is online or not. I think i have to use a dec from winsock.dll or something. I need the easiest way to do this. help!
Who is Participating?
GoofyJoe99Author Commented:
Perfect!!! THANKS :)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.