[twsocket] twsocketserver linemode question

2012-03-25 Thread Tony Caduto
Hi, I am new to ICS, I have always used blocking sockets in the past(synpase) and I recently made a messenger server with ICS and I use the linemode to get the commands etc. My question is how do you handle the situation where the line length is greater than the default linelimit param? I see ther

[twsocket] Catching ssl server errors issues

2012-03-29 Thread Tony Caduto
Hi, I have a server built with the twsslthrdserver component and I was messing around trying to force errors by changing the name of the ssl server key etc and the onbgexception event catches it, but it completely locks up the app even if I set the can can continue to true -- To unsubscribe or cha

[twsocket] Question about twsocketthrdserver

2012-04-08 Thread Tony Caduto
Hi, I have a chat server is ported from synapse and I used twsocketthrdserver so it would scale with 200 sockets per thread. The problem is in my original server i used a generic tdictionary to store pointers to the client objects. I use a critical section to protect the tdictionary and this all wo

Re: [twsocket] Question about twsocketthrdserver

2012-04-09 Thread Tony Caduto
I'm just doing a sendline after finding the client object in the tdictionary, doesn't a send just put the data in the buffer? I even put the sendline in the critical section and one of the clients still stops responding after about 10 to 20 messages are sent, so it does work for awhile. I will che

Re: [twsocket] Plans for ICS and iOS?

2012-10-25 Thread Tony Caduto
What about lazarus? It's pretty darn good and has pointers. I am moving all the projects I can to lazarus. The more third party support it gets the better. I would take a look as lazarus 1.x could handle ICS no problem. On Oct 25, 2012 12:14 AM, "Arno Garrels" wrote: > Hoby Smith wrote: > > > N