Re: Re: php server push

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

 



On Thu, Oct 2, 2008 at 6:53 AM, Nathan Rixham <nathan@xxxxxxxxxxx> wrote:

> gkrisz@xxxxxxxxxx wrote:
>
>> Hi, (i hope this is the right place to ask questions like below)
>>
>> I am trying to use content type 'multipart/x-mixed-replace' to achive
>> server pushing and I have the following piece of code, which works
>> perfectly.
>>
>> [snip]
>> I hope I cound explain my problem clearly
>> thank you in advance
>>
>> Christian Guttmann
>>
>>
> ahh an age old problem; in short you need something like "meteor" to handle
> this (a different http server); tbh the http protocol isn't cut out for
> this.
>
> You may want to save some time and look into XMPP with PUB-SUB; it's
> lightweight permanent client server connection with server push (ignite
> realtime/jive software do a great XMPP server that's opensource ;)
>
> Regards and sorry for the vagueness - there are tonnes of articles
> everywhere on the net documenting the problems; this is why everybody poll's
> all the time.
>
> if you do want a strictly PHP resolution then look into making your own
> multiprocess daemon with socket stream server / client and the stream_
> functions - rather complicated and not a "standard" way fo doing things, but
> fun :)
>
> --
> nathan ( nathan@xxxxxxxxxxx )
> {
>  Senior Web Developer
>  php + java + flex + xmpp + xml + ecmascript
>  web development edinburgh | http://kraya.co.uk/
>
> }
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
http://sourceforge.net/projects/comet/ might be what you are looking for

-- 

Bastien

Cat, the other other white meat

[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