Re: Peristent Listen over an HTTP connection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



chetan rane wrote:
same TCP creation,

because i i am bindiing that stream to the Server.

i am actually creating a component.

a component which resides in between a client and server

i accept HTTP requests from a client and relay the same uysing a TCP
connection to the SERVER.
and vice versa

i think this makes it clear.

On 2/4/07, Stut <stuttle@xxxxxxxxx> wrote:

chetan rane wrote:
> i want to write a script
> where , when ny client requests come i read the stream and then process
it
>
> here is the exact steps
>
> when the user first initiates
> i create a session and establish a TCP connection
> second: when teh user next sends a request i dont create a new TCP
> connection but use the existing TCP connection.

Ok, couple of questions...

1) Why?
2) Why?

What is making these connections from the client side?

-Stut




As a follow-up to my previous, try this:
   http://www.devshed.com/c/a/PHP/Socket-Programming-With-PHP/

It needs IE (as opposed to Firefox).

--

_____________________
Myron Turner
http://www.room535.org
http://www.bstatzero.org
http://www.mturner.org/XML_PullParser/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux