W3C home > Mailing lists > Public > www-lib@w3.org > July to September 1996

Re: Killing a request on Win32

From: He's Lemon Fresh OTA <eric@apocalypse.org>
Date: Fri, 13 Sep 1996 19:29:14 -0400 (EDT)
To: Randy Fay <ref@rmi.net>
cc: www-lib@w3.org
Message-ID: <Pine.LNX.3.91.960911104350.5262D-100000@asylum.apocalypse.org>
> Environment: Win95, WWW-lib 4.0 DLLs, MSVC 4.1
> 
> Hi - I can't seem to successfully kill off requests in Win32. Using
> HTRequest_kill() or HTNet_killAll() I get GPFs. Do you have to do
> something before using these?  Is there a better way?

No, you should be able to kill off any and all requests at all times.

> I'm running each request in a separate thread (real Win32 thread) and
> would like to stop it if the user gets tired or ...

The latest public libwww is in 
ftp://ftp.w3.org:/pub/libwww/w3c-libwww-4.1b5.[tar.Z|tar.gz|zip]
Please try this release and see if you get the same problems. 

If that doesn't work, you could check the version of Winsock by adding a 
line to HTLibInit in HTLib.c

WSAStartup(..., &wsadata)
some checks
HTTrace("WinSock version \"%s\".\n", wsadata.szDescritpion);

Mail me back the information and I'll see what I can figure out.

-eric
Received on Friday, 13 September 1996 19:29:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:26 GMT