in reply to Chat room receipt

Yes, that is the very definition of server push.

This page describes how to do server push.

Keep in mind that server push keeps a server connection busy, and that you have a limited number of server processes. It's usually better to use a slim HTTP deamon designed specially to push, or to not use HTTP at all.

I really don't want to use ready-made scripts.

Doesn't that prevent us from giving you any code?

Replies are listed 'Best First'.
Re^2: Chat room receipt
by Andre_br (Pilgrim) on Apr 27, 2005 at 19:54 UTC
    Hey,

    I meant I donīt want to use ready-made scripts in this chat issue only. And, I said that because the ones I looked into had incredibly dirty code. Sorry if I made it look way too generalized. If you have some code, I would definatelly apreciate.

    I didnīt understand what you meant by slim HTTP deamon .

    Maybe better go obssessive... What do you guys think?

    Thanks

    Andre_br

      By a slim HTTP deamon, I meant one that doesn't take multiple megabytes of memory per client connection. For example, a slim HTTP deamon could be a Perl script using written to handle many clients simultaneously using select or threads.