Do you have any example for reference? Thanks.
Google ‘eventmachine chat server’ then look at the first link.
It would have taken less typing than posting your question and given
you the answer there and then.
Eva wrote:
Do you have any example for reference? Thanks.
http://en.wikibooks.org/wiki/Ruby_Programming/Reference/Objects/Socket
2010/8/11 Eva [email protected]
Do you have any example for reference? Thanks.
Here’s an example of a chat server written using my Revactor library for
Ruby 1.9:
http://github.com/tarcieri/revactor/blob/master/examples/chat_server.rb