in Visual Basic 6
How can i check that communication to port 443 is opened for network requests?
I must NOT use any 3rd party controls / activeX / OCX, so I’m looking for ways to send / receive an https or just make a connection to a server which is serving on 443,
using windows (2k/2k3/xp/7/vista) API calls.
There is a known server I can check against.
(or, for that matter, https://google.com/accounts)
Thanks.
There are a couple of ways that I can think of. One being to use WinInet, specifically the InternetOpenUrl function. Another way is to use WinHttp. You can use the function WinHttpOpenRequest. You can also use it as a COM object. Here are a few examples:
http://www.ex-designz.net/apidetail.asp?api_id=72
http://msdn.microsoft.com/en-us/library/Aa384072