On Mon, Aug 1, 2011 at 10:43 AM, Felipe Monteiro de Carvalho
<felipemonteiro.carva...@gmail.com> wrote:
> On Mon, Aug 1, 2011 at 5:23 PM, Andrew Brunner
> <andrew.t.brun...@gmail.com> wrote:
>> I agree with this one.  The only thing I could add would be AJAX &
>> WebSockets for really advanced applications.
>
> Do WebSockets allow to use TCP sockets in JavaScript or is it something else?

WebSockets are persistent connections that never close unless
directed.  Plus the server can push data over the socket and the
client can process data on an event basis.

HTTPRequest is query response.   WebSockets is asynchronous and
perfect for event driven programming over the web.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to