Created
March 15, 2009 08:28
-
-
Save davidlee/79367 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EventMachine::run do | |
# Policy Socket Server | |
EventMachine::start_server( Socky::HOST, | |
Socky::Policy::PORT, | |
Socky::Policy::Server ) | |
# XML Socket Server | |
EventMachine::start_server( Socky::HOST, | |
Socky::XmlSocket::PORT, | |
Socky::XmlSocket::Server ) | |
# Raw Socket Server | |
EventMachine::start_server( Socky::HOST, | |
Socky::Socket::PORT, | |
Socky::Socket::Server ) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment