From: Ron A. <ron...@ne...> - 2004-04-13 14:18:05
|
Hello, I am writing an application that does the following: every minute: - read a list of websites/URLs - connect to each of them - retrieve some info from them - close connection I am using st-1.4 compiled with USE_POLL on redhat linux 9 on i386. The problem: one of the sites in the list is firewalled/unreachable, and that's why I use a timeout parameter of 50 seconds to st_connect. Before I used this parameter, by program hang for 4 minutes on that particular site before finishing the main loop. But since I added the timeout parameter another strange thing happened: everything works but after 4 iterations of the main loop (so 4 minutes) most connections suddenly get ETIME on st_connect, and after that I have an irregular pattern of thing going right and things going wrong. Does this ring a bell with anyone? Or should I post this to -devel? Thanks, Ron Arts -- Netland Internet Services bedrijfsmatige internetoplossingen http://www.netland.nl Kruislaan 419 1098 VA Amsterdam info: 020-5628282 servicedesk: 020-5628280 fax: 020-5628281 Never trust a man who can count to 1,023 on his fingers |