Re: [twsocket] (temporarily) shutting down WSocketServer

2007-03-22 Thread Francois Piette
If one were to use WSocketServer to handle multiple client connections simultaneously, what would be the preferred method to stop the server and therefore close all client connections? Closing the server socket doesn't break any existing connection, it just make the server stop accepting new

Re: [twsocket] Architectural question II

2007-03-22 Thread Arno Garrels
Francois PIETTE wrote: We don't need a component at all. We can call the API (like UpdateTimer) in your code and use the component hidden window. There is no conflict possible with the WM_TIMER message. I do not understand who shall handle the WM_TIMER messages? Currently TIcsWndControl skips

Re: [twsocket] ICS bug ?

2007-03-22 Thread Arno Garrels
Paul wrote: Isn't it possible to implement it in V5 also ? I haven't had a look at latest V5 download yet. You can monitor variable FReceiveLen and check for a negativ value on your own. But I think that this was a problem introduced with latest changes to THttpCli V6 only. -- Arno Garrels

Re: [twsocket] ICS bug ?

2007-03-22 Thread Fastream Technologies
Arno, can you post a fixed THttpCli please? Best Regards, SZ - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, March 21, 2007 12:46 PM Subject: Re: [twsocket] ICS bug ? Paul wrote: Since I updated to the latest

Re: [twsocket] ICS bug ?

2007-03-22 Thread Ronny Forsberg
Arno Garrels wrote: Paul wrote: Isn't it possible to implement it in V5 also ? I haven't had a look at latest V5 download yet. You can monitor variable FReceiveLen and check for a negativ value on your own. But I think that this was a problem introduced with latest changes to

Re: [twsocket] Architectural question II

2007-03-22 Thread Tobias Rapp
Something like attached below? It creates its window thread-save, but I prefer a timer that was able to use the hidden window(s) of V6, or may be we think about a windowless timer (Thread, signals, and WaitForMultipleObjects)? Just for interest: What is the drawback of using a own window

Re: [twsocket] Architectural question II

2007-03-22 Thread Arno Garrels
Tobias Rapp wrote: Something like attached below? It creates its window thread-save, but I prefer a timer that was able to use the hidden window(s) of V6, or may be we think about a windowless timer (Thread, signals, and WaitForMultipleObjects)? Just for interest: What is the drawback of

Re: [twsocket] ICS bug ?

2007-03-22 Thread Arno Garrels
Fastream Technologies wrote: Arno, can you post a fixed THttpCli please? This is my _private_ copy, not yet verified by Francois: http://www.duodata.de/misc/delphi/OverbyteIcsHttpProt.zip Best Regards, SZ - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS

[twsocket] TWSOCKET Access violation at address 7C8224B2 in module 'ntdll.dll'

2007-03-22 Thread Éric Fleming Bonilha
Hello all! I´m having a strange problem on my app using ICS 6, I have noticed that my server service raises an exception Access violation at address 7C8224B2 in module 'ntdll.dll' but I didn´t got where the problem is happening, analysing the error logs I realised that this error is being

Re: [twsocket] Architectural question II

2007-03-22 Thread Francois PIETTE
I do not understand who shall handle the WM_TIMER messages? Currently TIcsWndControl skips message numbers below WM_USER, do you want to change that? WParam of WM_TIMER can hold a custom 32 bits value like an object reference. In V5, the component hidden window can handle the message. In

Re: [twsocket] TWSOCKET Access violation at address 7C8224B2 in module'ntdll.dll'

2007-03-22 Thread Arno Garrels
Do you find this text in OverbyteIcsWSocket.pas? { FP:26/09/06 Are FD_READ and FD_WRITE really necessary ? Probably not ! } { Lodewijk Ellen reported a problem with W2K3SP1 triggering an AV in } { accept. Keeping only FD_ACCEPT and FD_CLOSE solved the problem.} { Anyway, a listening

Re: [twsocket] TWSOCKET Access violation at address 7C8224B2 inmodule'ntdll.dll'

2007-03-22 Thread Éric Fleming Bonilha
Do you find this text in OverbyteIcsWSocket.pas? { FP:26/09/06 Are FD_READ and FD_WRITE really necessary ? Probably not ! } { Lodewijk Ellen reported a problem with W2K3SP1 triggering an AV in } { accept. Keeping only FD_ACCEPT and FD_CLOSE solved the problem.} { Anyway, a

Re: [twsocket] TWSOCKET Access violation at address 7C8224B2inmodule'ntdll.dll'

2007-03-22 Thread Arno Garrels
Éric Fleming Bonilha wrote: [..] Error 3/6/2007 6:37:27 PM Servidor.exe None 0 N/A TECSRV10 This are the exceptions that are being raised on the server when the clients connects to it, Try to get a stack trace generated by MadExcept if you cannot otherwise debug the application.

Re: [twsocket] TWSOCKET Access violation at address 7C8224B2inmodule'ntdll.dll'

2007-03-22 Thread Éric Fleming Bonilha
Just some more informations about my software so you can have a better idea on its working My software is an IP Camera Surveillance app, so I have the server and the client software, the server software (where it is raising the exception) works actually as a server and a client, it has a

Re: [twsocket] TWSOCKET Access violation at address7C8224B2inmodule'ntdll.dll'

2007-03-22 Thread Éric Fleming Bonilha
Hello Arno, Well, I will try to use MadExcept but it is hard to reproduce the error, I coudn´t reproduce it until now, it just happens on production servers used on my customers Actually, another interesting fact is that this is already an unhandled error because windows just logs unhandled

[twsocket] What's possible with ICS async architecture, today.

2007-03-22 Thread Fastream Technologies
Hello, What would you think about this: http://www.fastream.com/ics/IQRP1.png ? I posted the stress tester binary before. The computer is 2.4GHz Core 2 Duo, 2GB 1066MHz RAM. Server is single process and 32 connections/thread! Tester is 20 threads with each 500 clients. Best Regards, SZ

Re: [twsocket] What's possible with ICS async architecture, today.

2007-03-22 Thread Darin McGee
404 Page not found is what I think. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fastream Technologies Sent: Thursday, March 22, 2007 5:03 PM To: ICS support mailing Subject: [twsocket] What's possible with ICS async architecture, today. Hello,

[twsocket] Can't stop the 10057 error

2007-03-22 Thread Matthew
Sorry if I screw this up, first time asking a question on here. I have a program that uses a list of WSocket objects, and I have alot of them. I setup each one and try to connect all at once, the first 10 or so will connect and the rest give me socket is not connected (#10057 in Send). So I stop

Re: [twsocket] What's possible with ICS async architecture, today.

2007-03-22 Thread Fastream Technologies
Oops so sorry. The PNG was indisplayable by browsers anyway. Here it is: http://www.fastream.com/ics/IQRP1.GIF . Best Regards, SZ - Original Message - From: Darin McGee [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Friday, March 23, 2007 1:47 AM Subject: Re: