Advertisement

(OT) I dont know where else to ask...

Started by March 28, 2002 07:32 AM
1 comment, last by BeyondDeath 22 years, 11 months ago
I am currently making a web based-cgi game. (in C++) But I have a snag, when i fire up winsock to send an email to the user, socket(*dont know parameters cause @ work*)=sd; fails with 10106 i think it was. Any idea why this would be? Stand alone applications work fine with identical code. I am testing this on xitami web server, for deployment on iis 5. Thanks for any help I know its way OT
According to winsock2.h, error 10106 is WSAEPROVIDERFAILEDINIT :

MSDN replies :

WSAPROVIDERFAILEDINIT
(OS dependent)
Unable to initialize a service provider.
Either a service provider''s DLL could not be loaded (LoadLibrary failed) or the provider''s WSPStartup/NSPStartup function failed.
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
Advertisement
The odd thing is, on the same pc, the same code in a stand alone application works perfectly fine.

This topic is closed to new replies.

Advertisement