Re: [twsocket] ICS V6 beta available

2005-12-29 Thread Francois PIETTE
> Using sysinternals tools, it show each connected socket use in 3
> handles :
>
>1 Event
>1 File  \Device\Tcp
>1 File  \Device\Afd\Endpoint
>
> I don't know what \Afd\EndPoint is nor the unnamed Event.

In my opinion, those handles are created by winsock itself for his own 
working.
I think Windows can support a practically illimited number of handles so it 
is not an issue.

--
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
http://www.overbyte.be


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] ICS V6 beta available

2005-12-29 Thread Fastream Technologies
SetWindowLong.

- Original Message - 
From: "Francois PIETTE" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Wednesday, December 28, 2005 3:35 PM
Subject: Re: [twsocket] ICS V6 beta available


>> Does this version includes my fix in WSocket?
>
> Which fix ?
>
> --
> [EMAIL PROTECTED]
> http://www.overbyte.be
>
>
> - Original Message - 
> From: "Fastream Technologies" <[EMAIL PROTECTED]>
> To: "ICS support mailing" 
> Sent: Wednesday, December 28, 2005 2:12 PM
> Subject: Re: [twsocket] ICS V6 beta available
>
>
>> Does this version includes my fix in WSocket?
>>
>> Regards,
>>
>> SZ
>>
>> - Original Message - 
>> From: "Francois PIETTE" <[EMAIL PROTECTED]>
>> To: 
>> Sent: Tuesday, December 27, 2005 7:14 PM
>> Subject: [twsocket] ICS V6 beta available
>>
>>
>>> ICS V6 beta available for download from ICS web pasge.
>>>
>>> This version implement window handle sharing between many ICS component.
>>> This will break the barrier on window handle which is imposed by W2K and
>>> WXP
>>> !
>>>
>>> I have prefixed all files with "OverbyteIcs" to avoid conflict with
>>> existing
>>> source. Component names has not changed, so you can't have the current
>>> ICS
>>> package and the new V6 package installed at the same time.
>>>
>>> The component itself has the same interface as previous version. So your
>>> application code doesn't need to be updated. If you derived your own
>>> component from ICS components, you have to change the way you handle
>>> windows messages.
>>>
>>> Known issues:
>>> Currently only TWSocket, TWSocketServer, THttpCli, THttpServer,
>>> TFtpClient
>>> and TFtpServer has been created.
>>> The demos have not really been updated. They are the code which existed
>>> around mid-2004. Not a big deal.
>>> Component icons have not been built.
>>> Only Delphi 7 and Delphi 2006.win32 have been tested.
>>>
>>>
>>> Comments are welcome !
>>>
>>> --
>>> Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
>>> --
>>> [EMAIL PROTECTED]
>>> http://www.overbyte.be
>>>
>>>
>>> -- 
>>> To unsubscribe or change your settings for TWSocket mailing list
>>> please goto http://www.elists.org/mailman/listinfo/twsocket
>>> Visit our website at http://www.overbyte.be
>>
>> -- 
>> To unsubscribe or change your settings for TWSocket mailing list
>> please goto http://www.elists.org/mailman/listinfo/twsocket
>> Visit our website at http://www.overbyte.be
>
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] ICS V6 beta available

2005-12-29 Thread Dod
Hello Francois,

Using sysinternals tools, it show each connected socket use in 3
handles :

1 Event
1 File  \Device\Tcp
1 File  \Device\Afd\Endpoint

I don't know what \Afd\EndPoint is nor the unnamed Event.

Regards.


>> Seems that 1 connected user eat 3 handles...I wonder why ?

FP> Me too. At least there is one handle per socket.
FP> You can use the "handle.exe" utility from www.sysinternal.org to list all 
FP> handles used. Maybe you'll find some more informations.

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] ICS V6 beta available

2005-12-28 Thread Francois PIETTE
> Here small compare with my server
> 100 connected users
> 200 connected users

Have tried to reach the max number of connected users ?
The number should be much much higher now, at least if you have enough RAM.
Previously, you reached the max number of windows (1) before reaching 
the max socket handles or the limit on non-paged memory. Now you should 
first hit either the max number of sockets or the limit of non-paged memory 
depending on available ram in your system and OS version.

--
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
http://www.overbyte.be


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] ICS V6 beta available

2005-12-28 Thread Francois PIETTE
> It was already in the small sheet V5/V6 is ICS used version.
>
> FP> Hidden windows are user objects. Since their number is drastically 
> reduce,
> FP> the number of user objects are reduced. Would be interesting to 
> compare
> FP> figures with ICS-V6 and with previous version.

Sorry, read too fast !
--
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
http://www.overbyte.be


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] ICS V6 beta available

2005-12-28 Thread Francois PIETTE
If you were talking about SetWindowLong, then yes, the fix was implemented 
since the beginning.
--
[EMAIL PROTECTED]
http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] ICS V6 beta available

2005-12-28 Thread Dod
Hello,

It was already in the small sheet V5/V6 is ICS used version.

FP> Hidden windows are user objects. Since their number is drastically reduce,
FP> the number of user objects are reduced. Would be interesting to compare 
FP> figures with ICS-V6 and with previous version.

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] ICS V6 beta available

2005-12-28 Thread Francois PIETTE
> It  seems  to greatly reduce number of USER Objects

Hidden windows are user objects. Since their number is drastically reduce, 
the number of user objects are reduced. Would be interesting to compare 
figures with ICS-V6 and with previous version.

> but general Handle value  stay high.

Nothing has been done to reduce the number of handles. And nothing can 
really be done. You need one handle per socket.

> Seems that 1 connected user eat 3 handles...I wonder why ?

Me too. At least there is one handle per socket.
You can use the "handle.exe" utility from www.sysinternal.org to list all 
handles used. Maybe you'll find some more informations.

--
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
http://www.overbyte.be



- Original Message - 
From: "Dod" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Wednesday, December 28, 2005 2:34 PM
Subject: Re: [twsocket] ICS V6 beta available


> Hello Francois,
>
> Here small compare with my server
>
> 100 connected users
>  V5 V6
> Handles:  350352
> Threads:  4  4
> USER Obj: 14242
> GDI Obj:  49 46
>
> 200 connected users
>  V5 V6
> Handles:  649652
> Threads:  4  4
> USER Obj: 24254
> GDI Obj:  49 46
>
> It  seems  to greatly reduce number of USER Objects but general Handle
> value  stay high. Seems that 1 connected user eat 3 handles...I wonder
> why ?
>
> regards.
>
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] ICS V6 beta available

2005-12-28 Thread Francois PIETTE
> Does this version includes my fix in WSocket?

Which fix ?

--
[EMAIL PROTECTED]
http://www.overbyte.be


- Original Message - 
From: "Fastream Technologies" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Wednesday, December 28, 2005 2:12 PM
Subject: Re: [twsocket] ICS V6 beta available


> Does this version includes my fix in WSocket?
>
> Regards,
>
> SZ
>
> - Original Message - 
> From: "Francois PIETTE" <[EMAIL PROTECTED]>
> To: 
> Sent: Tuesday, December 27, 2005 7:14 PM
> Subject: [twsocket] ICS V6 beta available
>
>
>> ICS V6 beta available for download from ICS web pasge.
>>
>> This version implement window handle sharing between many ICS component.
>> This will break the barrier on window handle which is imposed by W2K and
>> WXP
>> !
>>
>> I have prefixed all files with "OverbyteIcs" to avoid conflict with
>> existing
>> source. Component names has not changed, so you can't have the current 
>> ICS
>> package and the new V6 package installed at the same time.
>>
>> The component itself has the same interface as previous version. So your
>> application code doesn't need to be updated. If you derived your own
>> component from ICS components, you have to change the way you handle
>> windows messages.
>>
>> Known issues:
>> Currently only TWSocket, TWSocketServer, THttpCli, THttpServer, 
>> TFtpClient
>> and TFtpServer has been created.
>> The demos have not really been updated. They are the code which existed
>> around mid-2004. Not a big deal.
>> Component icons have not been built.
>> Only Delphi 7 and Delphi 2006.win32 have been tested.
>>
>>
>> Comments are welcome !
>>
>> --
>> Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
>> --
>> [EMAIL PROTECTED]
>> http://www.overbyte.be
>>
>>
>> -- 
>> To unsubscribe or change your settings for TWSocket mailing list
>> please goto http://www.elists.org/mailman/listinfo/twsocket
>> Visit our website at http://www.overbyte.be
>
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] ICS V6 beta available

2005-12-28 Thread Dod
Hello Francois,

Here small compare with my server

100 connected users
  V5 V6
Handles:  350352
Threads:  4  4
USER Obj: 14242
GDI Obj:  49 46

200 connected users
  V5 V6
Handles:  649652
Threads:  4  4
USER Obj: 24254
GDI Obj:  49 46

It  seems  to greatly reduce number of USER Objects but general Handle
value  stay high. Seems that 1 connected user eat 3 handles...I wonder
why ?

regards.

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] ICS V6 beta available

2005-12-28 Thread Fastream Technologies
Does this version includes my fix in WSocket?

Regards,

SZ

- Original Message - 
From: "Francois PIETTE" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, December 27, 2005 7:14 PM
Subject: [twsocket] ICS V6 beta available


> ICS V6 beta available for download from ICS web pasge.
>
> This version implement window handle sharing between many ICS component.
> This will break the barrier on window handle which is imposed by W2K and 
> WXP
> !
>
> I have prefixed all files with "OverbyteIcs" to avoid conflict with 
> existing
> source. Component names has not changed, so you can't have the current ICS
> package and the new V6 package installed at the same time.
>
> The component itself has the same interface as previous version. So your
> application code doesn't need to be updated. If you derived your own
> component from ICS components, you have to change the way you handle
> windows messages.
>
> Known issues:
> Currently only TWSocket, TWSocketServer, THttpCli, THttpServer, TFtpClient
> and TFtpServer has been created.
> The demos have not really been updated. They are the code which existed
> around mid-2004. Not a big deal.
> Component icons have not been built.
> Only Delphi 7 and Delphi 2006.win32 have been tested.
>
>
> Comments are welcome !
>
> --
> Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
> --
> [EMAIL PROTECTED]
> http://www.overbyte.be
>
>
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] ICS V6 beta available

2005-12-28 Thread Francois PIETTE
All messages are handled differently ! All message  numbers are now variable 
instead of constant since a lot of component use the same hidden window and 
each one need to have his own messages.

Each message number is allocated dynamically. See how 
TCustomWSocket.AllocateMsgHandlers works.

--
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
http://www.overbyte.be



- Original Message - 
From: "Dod" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Wednesday, December 28, 2005 2:04 PM
Subject: Re: [twsocket] ICS V6 beta available


> Hello Francois,
>
> WM_TRIGGER_EXCEPTION is no more available in WSocket.pas ?
>
> seems you removed also
>
>  WM_ASYNCSELECT= WM_USER + 1;
>  WM_ASYNCGETHOSTBYNAME = WM_USER + 2;
>  WM_ASYNCGETHOSTBYADDR = WM_USER + 3;
>  WM_CLOSE_DELAYED  = WM_USER + 4;
>  WM_WSOCKET_RELEASE= WM_USER + 5;
>  WM_TRIGGER_EXCEPTION  = WM_USER + 6;
>  WM_TRIGGER_DATA_AVAILABLE = WM_USER + 20;
>  WSA_WSOCKET_TIMEOUT   = 12001;
>
>
> FP> Yes, I forgot to add IcsDefs.inc to the zip file.
> FP> You can use the file which is part of ICS.
>
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] ICS V6 beta available

2005-12-28 Thread Dod
Hello Francois,

WM_TRIGGER_EXCEPTION is no more available in WSocket.pas ?

seems you removed also

  WM_ASYNCSELECT= WM_USER + 1;
  WM_ASYNCGETHOSTBYNAME = WM_USER + 2;
  WM_ASYNCGETHOSTBYADDR = WM_USER + 3;
  WM_CLOSE_DELAYED  = WM_USER + 4;
  WM_WSOCKET_RELEASE= WM_USER + 5;
  WM_TRIGGER_EXCEPTION  = WM_USER + 6;
  WM_TRIGGER_DATA_AVAILABLE = WM_USER + 20;
  WSA_WSOCKET_TIMEOUT   = 12001;


FP> Yes, I forgot to add IcsDefs.inc to the zip file.
FP> You can use the file which is part of ICS.

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] ICS V6 beta available

2005-12-28 Thread Francois PIETTE
Yes, I forgot to add IcsDefs.inc to the zip file.
You can use the file which is part of ICS.

--
[EMAIL PROTECTED]
http://www.overbyte.be

- Original Message - 
From: "Dod" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Wednesday, December 28, 2005 11:42 AM
Subject: Re: [twsocket] ICS V6 beta available


> Hello Francois,
> 
> I  tried  to  install  but  it says THttpCli class already exists so I
> removed  old ICS and just added INCDEFS.INC (and IcsMD5.pas I need)
> that seems to be the minimum to install V6 package.
> 
> Regards.
> 
> FP> ICS V6 beta available for download from ICS web pasge.
> 
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] ICS V6 beta available

2005-12-28 Thread Dod
Hello Francois,

I  tried  to  install  but  it says THttpCli class already exists so I
removed  old ICS and just added INCDEFS.INC (and IcsMD5.pas I need)
that seems to be the minimum to install V6 package.

Regards.

FP> ICS V6 beta available for download from ICS web pasge.

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be