|
-
January 28th, 2010, 08:08 PM
#1
WSAConnectByName
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:
The procedure entry point WSAConnectByNameW could not be located in the dynamic link library WS2_32
I've also tried the non-unicode version WSAConnectByNameA, and MT/MD etc. but everything gives the same error.
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.
-
January 29th, 2010, 07:23 AM
#2
Re: WSAConnectByName
WSAConnectByName requires at least Vindows Vista or Windows Server 2008. On other older platforms, e.g. Windows XP, it may be not supported.
Take a look in MSDN, at function requirements (bottom of WSAConnectByName documentation page).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|