Re: [twsocket] WSocketServer stops listening

2005-09-12 Thread A.Shekar
Hi Wilfried, I check socket state before every PutDataInSendBuffer and Send. Should i use try except end around these statements ? Why should client error result in listen stopping ? In TCustomWSocket.Connect, after SetLingerOption, the following code is present : optval := -1; iStatus :

Re: [twsocket] Thttpserver and databases

2005-09-12 Thread adrian spinetta
are you sure? if 10 user at the same time press intro, fired ongetdocument and using a Tdatabase-Tquery only one of them is processing? What about Tsession,unique name, is that way? thanks a lot. Guillaume MAISON <[EMAIL PROTECTED]> escribió: adrian spinetta a écrit : > I am making a compl

Re: [twsocket] has packet reach other end

2005-09-12 Thread Angus Robertson - Magenta Systems Ltd
> MDOT has some usefull things on board to send/receive binairy data > over TCP and timeouts but it does not provide any ACK to be sure > packet is delivered on the other end. Winsock has this internally > but there is as far as I know not a way to tell the application. You could use the raw socke

Re: [twsocket] Thttpserver and databases

2005-09-12 Thread Francois PIETTE
>I am making a complete webserver dinamic using the examples of >createvirtualdoc. > is it ok using criticalsection inside ongetdocument to block access of a > Tquery? It is not needed because the component is asynchronous. If you don't use a thread yourself, then only one request is handled at

[twsocket] has packet reach other end

2005-09-12 Thread Wilfried Mestdagh
Hello, I'm writing an MDOT server. For who is concerned: MDOT is the protocol used for tunneling MPAK packets over TCP connections. MPAK is the format used for MOBITEX wich is a packet switched radio network. MDOT has some usefull things on board to send/receive binairy data over TCP and timeouts

Re: [twsocket] Thttpserver and databases

2005-09-12 Thread Guillaume MAISON
adrian spinetta a écrit : > I am making a complete webserver dinamic using the examples of > createvirtualdoc. > is it ok using criticalsection inside ongetdocument to block access of a > Tquery? > Hello, You have no need to use criticalsection as ICS is not thread based. Only one onGetdocume

[twsocket] Thttpserver and databases

2005-09-12 Thread adrian spinetta
I am making a complete webserver dinamic using the examples of createvirtualdoc. is it ok using criticalsection inside ongetdocument to block access of a Tquery? __ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! Regístr