+ Reply to Thread
Results 1 to 3 of 3

Thread: Is there a way to find whether my machine is connected to internet or not?

  1. #1

    Is there a way to find whether my machine is connected to internet or not?

    Hi,

    Is there a way to find whether my machine is connected to internet or not?

    Is there any API available or I will need to use socket APIs?

    Thanks.

  2. #2
    You can use InetIsOffline WIN32 API for this purpose.

    Have a look at below link for more information:
    http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx

  3. #3
    Junior Member
    Join Date
    Apr 2012
    Posts
    46
    Great.

    I almost thought of using socket.

    You did great job. Thanks.

+ Reply to Thread

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts