I’m interested in writing a little chat server and game arranger to run on my server. This will be used to allow players to chat before playing and decide who they want to play with. I don’t really want to run a bespoke process on the server (or rather I though I’d try something different this time) and was wondering if I could maybe create a PHP script that streamed out of a “chat” file. Then have my Java client come in and stream the PHP output down into the chat window. Likewise pushing chat messages up would be done via a script which just added on to the end of the chat file.
Does anyone know if this streaming works?
Kev