I'm using an example function direct from MSDN to return the IP address of a named site. It compiles fine, however, I get the following error:
I've also tried the non-unicode version WSAConnectByNameA, and MT/MD etc. but everything gives the same error.Quote:
The procedure entry point WSAConnectByNameW could not be located in the dynamic link library WS2_32
Is my W32_32.dll bugged, or am I doing something wrong?
***
Alternately, of the many winsock/iNet/etc. options available, what's the simplest way to connect to a named site (e.g. google.com or mywebpage.com)?
I will be sending POST data to a .php page and reading back the resulting output to a buffer.
