Problems and solutions

Hi everybody,

I am a newbie in libwww and while I tried to use it I've got the
following problems:

0. I use WinNT 4.0 with Microsoft Visual C++ V5.0 and w3c-libwww-5.1i
(but it's not a problem :-) )

1. While I trying to build library with _CONSOLE wwwzip.dll bulding
fails with the following:
--------------------Configuration: wwwzip - Win32
Debug--------------------
Linking...
HTZip.obj : error LNK2001: unresolved external symbol _inflateEnd
HTZip.obj : error LNK2001: unresolved external symbol _inflate
HTZip.obj : error LNK2001: unresolved external symbol _inflateInit_
..\..\..\Bin\Debug\wwwzip.dll : fatal error LNK1120: 3 unresolved
externals
Error executing link.exe.

wwwzip.dll - 4 error(s), 0 warning(s)

I suggest the following change in zconf.h:

/* Compile with -DZLIB_DLL for Windows DLL support */
#if (defined(_WINDOWS) || defined(WINDOWS) || defined(_CONSOLE)) &&
defined(ZLIB_DLL)

istead of

/* Compile with -DZLIB_DLL for Windows DLL support */
#if (defined(_WINDOWS) || defined(WINDOWS)) && defined(ZLIB_DLL)

2. All my attempts to use comline.exe to get documents from *very* busy
sites (like www.cnn.com or www.microsoft.com) were failed with the
following (using the following command: comline -single -vuph
http://www.cnn.com )

HTSimplify.. `http://www.cnn.com/' into
............ `http://www.cnn.com/'
HTAccess.... Accessing document http://www.cnn.com/
Auth Engine. Looking up `http://www.cnn.com/'
Auth Engine. No information
Credentials. verified
HTTP........ Looking for `http://www.cnn.com/'
HTDoConnect. Looking up `www.cnn.com'
HTHost 00D25720 going to state TCP_CHANNEL.
HTHost 00D25720 going to state TCP_DNS.
Looking up www.cnn.com
DNS Add..... `www.cnn.com' with 8 home(s) to 00D25B60
ParseInet... as port 80 on 207.25.71.24 with 8 homes
HTHost 00D25720 going to state TCP_NEED_SOCKET.
Socket...... Created 80
Socket...... Turned off Nagle's algorithm
Socket...... Blocking socket
Channel..... Hash value is 13
Channel..... Added 00D25D70 to list 00D25D40
Socket...... TCP send buffer size is 8192 for socket 80
Contacting www.cnn.com
HTHost 00D25720 going to state TCP_NEED_CONNECT.
DNS Weigths. Home 0 has weight 1217474977.63
DNS Weigths. Home 1 has weight 0.00
DNS Weigths. Home 2 has weight 0.00
DNS Weigths. Home 3 has weight 0.00
DNS Weigths. Home 4 has weight 0.00
DNS Weigths. Home 5 has weight 0.00
DNS Weigths. Home 6 has weight 0.00
DNS Weigths. Home 7 has weight 0.00
HTHost 00D25720 going to state TCP_ERROR.
HTDoConnect. Connect failed 10051
HTHost 00D25720 going to state TCP_DNS.
ParseInet... as port 80 on 207.25.71.24 with 8 homes
HTHost 00D25720 going to state TCP_NEED_SOCKET.
Socket...... Created 60
Socket...... Turned off Nagle's algorithm
Socket...... Blocking socket
Channel..... Hash value is 60
Channel..... Added 00D253F0 to list 00D253C0
Socket...... TCP send buffer size is 8192 for socket 60
Contacting www.cnn.com
<<< ans so on >>>

Usnig webbot I've got the same messages...

But I can not find solution to this by myself (using -timeout 100 does
not solve the problem). 

3. Let me suggest to make possibility to log all verbose messages into
some log file? It will make sence...

Any help will be really appreciated.

Kind regards,

Vladimir Kozlov.

Received on Friday, 20 February 1998 08:03:56 UTC