[twsocket] DNSLookup

2006-10-27 Thread Rob Ashburn
Hi all, I'm in the process of writing a small program that needs to determine for sure whether or not a given domain name exists. Currently, I'm passing the domain name to WSocket.DNSLookUp, and then checking the ErrCode in DNSLookupDone as follows: case ErrCode of 0 : begin

Re: [twsocket] Large amount of OnDataAvailable calls and timer/frozen main thread

2006-10-27 Thread Angus Robertson - Magenta Systems Ltd
> - if the client sends requests as a huge bulk > (e.g. 10.000 requests in a relatively [not completely] tight loop) > the statistics don't get updated for a while > - in OnDataAvailabe check whether at least 1 sec. has been elapsed > and the manually call OnTimer. I've done that, the OnTimer

Re: [twsocket] Large amount of OnDataAvailable calls and timer/frozenmain thread

2006-10-27 Thread Francois PIETTE
> I've come to 2 ideas: > > - set up a secondary thread for ICS (but I already have several > threads running... ;-)) That's OK. You may set the thread priority above normal level so that the network I/O doesn't catch all available CPU. It looks like you have a CPU bound case. > - in OnDataAva

Re: [twsocket] Exception on compiling "SocketSpy" with newest ICS v5/6

2006-10-27 Thread retnyg
Hello Wilfried, i used the most recent version 5 and 6 from the website. Is it possible that you do a right-click on the main form, select "Text-DFM" then save it and attach the whole project to a mail ? maybe i did something wrong in the BannerTo(o)Busy-Case. TIA, retnyg WM> Hello retnyg, WM>

[twsocket] Large amount of OnDataAvailable calls and timer/frozen main thread

2006-10-27 Thread Markus Humm
Hello, I've the following case: - VCL mainform with a timer which updates some statistics shown once a second - TWSocket as TCP-Server which gets requests from a client - if the client sends requests as a huge bulk (e.g. 10.000 requests in a relatively [not completely] tight loop) the stati

Re: [twsocket] Exception on compiling "SocketSpy" with newest ICS v5/6

2006-10-27 Thread Wilfried Mestdagh
Hello retnyg, I just downloaded it and compiled and did a test with a server. All seems to work normal. Wich version of ICS do you use ? --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Thursday, October 26, 2006, 21:02, [EMAIL PROTECTED] wrot