Re: [twsocket] best way for packet routing

2012-02-28 Thread Emanuele Bizzarri
Hi, yes I know that packets are biggest than 4 bytes on wire, I'm telling about payload only. [40(eth)+20(ip)+20(tcp)+4(payload)]*1000(pktps)*8(bits)*500(clients)=336Mbps1Gbps My intention is to stress the software and understand what happens in critical situations. If I use bigger packets I can

[twsocket] SSL ErrCode 3

2012-02-28 Thread Marko Paunovic
I have problem with SSL components from ICS Overbyte package. I have similar problem like this person here: http://www.archivum.info/twsocket@elists.org/2007-02/00013/(twsocket)-SSL-ErrCode-3.html What happens is that everything works on my machine perfectly, but when I copy my application

Re: [twsocket] OFF: string issues while porting WebSockets server to BDS 2010

2012-02-28 Thread Stan
Apologies for the disturbance, I've found the solution - AnsiChar. Now all is working fine. - Original Message - From: Stan To: ICS support mailing Sent: Tuesday, February 28, 2012 10:43 PM Subject: OFF: string issues while porting WebSockets server to BDS 2010 Hi, I have a

[twsocket] OFF: string issues while porting WebSockets server to BDS 2010

2012-02-28 Thread Stan
Hi, I have a working WebSockets server for ICS, which I plan to share. It is implemented initially in Delphi 7. Now I try to port it to BDS2010 and have some issues with strings. First, I replaced all 'string's with 'AnsiString's, and this seems working as expected. But Chr function produces a

Re: [twsocket] best way for packet routing

2012-02-28 Thread François Piette
Do you think that routing cicle is ok? There is a better way to do that? Can you give any advice about that? How do you solve the issue which can happen if a client is not receiving data fast enough ? The sending socket will buffer data (It is asynchronous on send as well) and all memory could

Re: [twsocket] OFF: string issues while porting WebSockets server to BDS 2010

2012-02-28 Thread François Piette
Be sure to use latest ICS which has been ported to unicode enabled Delphi versions such as D2010. -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -Message