Highlighted
Absent Member.
Absent Member.
231 views

[archive] Internet Connection

[Migrated content. Thread originally posted on 17 November 2005]

Is there a way to programaticly check if a computer has a connection to the internet ?

Maybe thru the register ?...
0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.

RE: [archive] Internet Connection

You could do this fairly crudely by using C$SOCKET to attempt a connection to port 80 of some well-known web address such as "www.google.com". But that would mean relying on the fact that Google will always be in business.

You could use "www.acucorp.com". 😄
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] Internet Connection

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.