Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

winsock stub error on close after calling idHTTP.get

54 views
Skip to first unread message

Michael Strong

unread,
Feb 5, 2004, 7:43:57 PM2/5/04
to
On closing my application after doing one or more gets using idHTTP.get it
throws this exception:

Error on call Winsock2 library function shutdown: Either the application has
not called WSAStartup, or WSAStartup failed.

I checked if winsock2loaded and its true before the get. I tried calling
WSAStartup and WSACleanup around the get as well, but nothing has worked so
far.

If I run the http get code in a simple application with nothing else it
works without a problem. So there is some other component or code causing a
conflict. I have removed everything I can see that might be related to
winsock.

Anyone got any ideas on where to look next?

TIA,
Michael


Michael Strong

unread,
Feb 5, 2004, 8:38:40 PM2/5/04
to
Fixed it: idHTTP.disconnect was not being called.

It would be good to have a demo on this component. I couldn't find one
anywhere.

"Michael Strong" <michael...@netcat.biz> wrote in message
news:4022...@newsgroups.borland.com...

0 new messages