Question on libwww example, listen

I'm evaluating libwww 5.4.0 if it can be used for  a server application.
While installing libwww and testing on solaris 7, I got an error message in Library/Examples/listen.

For example, I ran listen on my test machineas following
	% listen -p 8000 -v

Then, I accessed it with MS internet explorer with URL of 'http://<host ip>:8000'

I got only the error message of 'Event Loop.. One or more sockets were not through their connect phase - try again'.

Is there anybody fix this-like problem?
Any help would be highly appreciated!

Thanx

------
won



PS) Enclosed is my trace out of listen.
Transport... Adding `tcp'
Protocol.... Adding `noop'
Request..... Created 8bdc0
Memory Free. 8a208
Memory Free. 8b620
Memory Free. 8ac30
Memory Free. 8a208
HTSimplify.. `noop://localhost' into
............ `noop://localhost'
Find Parent. 8dc58 with hash 268 and address `noop://localhost' created
HTAccess.... Serving noop://localhost
Memory Free. 8b640
Memory Free. 8a238
Memory Free. 8b640
Memory Free. 8ac30
Memory Free. 8a238
Net Object.. 8dce8 created with hash 0
Net Object.. starting SERVER request 8bdc0 and net object 8dce8
Load socket. Setting up socket for accept
Memory Free. 8a258
Memory Free. 8b640
Memory Free. 8ac30
HTHost parse Looking up `localhost' on port 8000
Event....... Created event 8b640 with context 8e7c8, priority 20, and timeout -1
Event....... Created event 8b660 with context 8e7c8, priority 20, and timeout -1
Event....... Created event 8b680 with context 8e7c8, priority 20, and timeout -1
Host info... added `localhost' with host 8e7c8 to list 8a258
Memory Free. 8a5f0
Net Object.. Creating listen object for host 8e7c8
Net Object.. 8e880 created with hash 1
Host info... Added Net 8dce8 (request 8bdc0) to pipe on Host 8e7c8, 1 requests made, 1 requests in pipe, 0 pending
HTHost...... No ActivateRequest callback handler registered
HTHost 8e7c8 going to state TCP_CHANNEL.
HTHost 8e7c8 going to state TCP_SOCKET.
Socket...... Created 3
Net Manager. Increasing active sockets to 1, 0 persistent sockets
Socket...... Non-blocking socket
Channel..... Hash value is 3
Channel..... Added 8e9f8 to list 8a2b8
Reader...... Created reader stream 8ea30
HTHost 8e7c8 going to state TCP_NEED_BIND
Socket...... Binding socket 3
Socket...... Starting listening on socket 3
HTHost 8e7c8 listening.
HTDoAccept.. WOULD BLOCK 3
Event....... Register socket 3, request 0 handler 53ca8 type HTEvent_ACCEPT at priority 20
Event....... Registering socket for HTEvent_ACCEPT
Event....... New value for MaxSock is 3
Event Loop.. calling select: maxfds is 3
............ READ : 3
............ WRITE:
............ OOB  :
Event Loop.. select returns 1
............ READ : 3
............ WRITE:
............ OOB  :
EventOrder.. execute ordered events
Memory Free. 8a308
EventList... calling socket 3, request 0 handler 53ca8 type HTEvent_READ
Host Event.. READ passed to `noop://localhost'
Accepted.... socket 4
Memory Free. 8a2c8
Host connect Unlocking Host 8e7c8
StreamStack. Raw output...
Read Socket. 361 bytes read from socket 4
GET / HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, */*
Accept-Language: ko
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Host: 211.192.212.201:8000
Connection: Keep-Alive

Event....... Register socket 4, request 8bdc0 handler 53ca8 type HTEvent_READ at priority 20
Event....... Registering socket for HTEvent_READ
Event....... New value for MaxSock is 4
Memory Free. 8a620
Event Loop.. calling select: maxfds is 4
............ READ : 3 4
............ WRITE:
............ OOB  :
Event Loop.. select returns -1
............ READ : 3 4
............ WRITE:
............ OOB  :
Event Loop.. One or more sockets were not through their connect phase - try again
Event Loop.. calling select: maxfds is 4
............ READ : 3 4
............ WRITE:
............ OOB  :
Event Loop.. select returns -1
............ READ : 3 4
............ WRITE:
............ OOB  :
Event Loop.. One or more sockets were not through their connect phase - try again
Event Loop.. calling select: maxfds is 4
............ READ : 3 4
............ WRITE:
............ OOB  :
Event Loop.. select returns -1
............ READ : 3 4
............ WRITE:
............ OOB  :

Received on Tuesday, 10 June 2003 03:04:56 UTC