Archived

This topic is now archived and is closed to further replies.

jljones

Winsock with Win XP

Recommended Posts

Hello All, Anyone know where I can get a copy of the new winsock dll and header files that will work with XP? There are some changes that are documented in the XP help for winsock, but the specified functions like connectex, etc, are not in my currecnt Visual Studio files. Thanks in advanced! Joe

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Of course XP''s Winsock is backwards compatible. He''s talking about new functions that were added, duh!

Anyway, you can update to the latest headers by going to http://www.microsoft.com/msdownload/platformsdk/sdkupdate/ .

Share this post


Link to post
Share on other sites
Okay,
Thanks for the information.

I have written a server program that uses winsock version 2. Basically all it does is bind a socket and listen for connections. Now, I have run this program on win98, win2000, and WinNT.

When I run the same program on WinXP, the binding socket will not initialize. I have used a static IP and the loop back IP of 127.0.0.1 and nothing.

Any ideas?

Thanks,

Joe

Joseph L. Jones
CEO, Jones Enterprises
www.geocities.com/jones_enterprises2000

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
XP has a built-in firewall that''s enabled by default. Somewhere in the network configuration you can configure this to either enable listening on the port you''re using, or just shut the thing off entirely.

Share this post


Link to post
Share on other sites
When you say the socket won''t initialise, at which stage does it fail? On which API call?

Also, an error is pretty useful in finding out why it might have failed. If you can post an error code that would be useful.

Share this post


Link to post
Share on other sites