- From: Scott Derrick <scott@tnstaafl.net>
- Date: Thu, 20 May 2004 15:42:08 -0600
- To: www-lib@w3.org
Hi, I just started using libwww. version 5.4 I have a client app that continually sends a GET command to an image server. The server responds by immediately sending back a jpeg image. This works fine in a java app running in a browser. Very regular refresh of the image. No delays or stalls. In my application that is using wwwlib, the requests stalls or delays about every minute or so for a couple seconds? The delay is always 2.8 seconds. The request is a GET command http://ip_address/support/theimage.jpg which returns the current image that is updated at 25 images per second. The loop in the app is very simple ***start loop chunk = HTLoadToChunk(http://...., request); HTEventList_loop(request); buffer = HTChunk_data(chunk); HTChunk_delete(chunk); ****end loop I have set the body write delay to 21, 50 I've looked for some other delay setting or garbage collection setting but can't find any?? I'm sure I'm missing something really simple? Scott "Those who sacrifice freedom to get security, deserve neither." - Benjamin Franklin
Received on Thursday, 20 May 2004 17:53:29 UTC