Re: Peristent Listen over an HTTP connection
| From: | Myron Turner | Date: | Sun, 04 Feb 2007 19:45:59 +0000 |
| Subject: | Re: Peristent Listen over an HTTP connection | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-248292@lists.php.net to get a copy of this message | ||
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@gmail.com> wrote: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/chetan rane wrote:i want to write a script where , when ny client requests come i read the stream and then processithere 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? -StutAs a follow-up to my previous, try this: