|
From: Fabio A M. <ma...@al...> - 2001-11-28 03:48:49
|
Hi folks: I was supposed to send this yesterday, but I sent to the wrong address (duh) After sometime with no submmitions, I commited more code yesterday. Now we have a full functional chat, it can even compile! ;o) To compile: Just call make To run Well, this is a little bit more complicated. First you need to configure apache, and a virtual host (or even the main host) tho the http directory, and alos configure php4 After this is done just replace cchatd.green.net links for your localhost/virtal-host Well, using any web-brouser with frame support you can just call entrance.php file and no more secrets. A very simple, but functional web-chat. How is it organized? At main.c are the main function and the event interpretation At http.c no bigger changes, the same old http functions (some updates) At client.c also At list.c we can find the dynamic list functions, any changes at all At message.c are the message building functions. Here the messages that are sent to the clients are built (including html) At room.c room functions, no bigger changes too. And at sockets.c sockets functions, rohan is taking care of this file very very well (will he take cara of any other file too?) Ok, directions are done. Now we need to put a period in v0.1, I think it won't be too hard to do. Let's have fun. mazza.br <mazza at altern.org> |