ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent-MP/eg/chat_server
(Generate patch)

Comparing AnyEvent-MP/eg/chat_server (file contents):
Revision 1.4 by root, Fri Aug 14 15:38:02 2009 UTC vs.
Revision 1.5 by root, Fri Aug 14 15:53:56 2009 UTC

24 24
25 $clients{$client} = $client; 25 $clients{$client} = $client;
26 26
27 msg "$name (joins)"; 27 msg "$name (joins)";
28 28
29 rcv $SELF, sub { 29 rcv $SELF, sub { msg "$name: $_[0]" };
30 msg "$name: $_[0]";
31 0
32 };
33} 30}
34 31
35warn "server ready.\n"; 32warn "server ready.\n";
36 33
37AE::cv->recv; 34AE::cv->recv;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines