how to send data to server with the same TCP connection using ajax or JS trick

Posted by zack on Stack Overflow See other posts from Stack Overflow or by zack
Published on 2010-05-11T17:16:22Z Indexed on 2010/05/11 17:24 UTC
Read the original article Hit count: 204

Filed under:
|
|
|

Hi,

I know how to keep a connection indifinetely open server side to stream continuously data to javascript. BUT I do not know how to send data reusing the same TCP from browser to server. so there is not the 3 way handshake and only 2 tcp packets. I know it is possible but I do not how to do it : use xmlhttprequest? or script tag ajax ? can you tell me how to do it.

thank you very much

© Stack Overflow or respective owner

Related posts about AJAX

Related posts about tcp