Last active
September 20, 2015 14:39
-
-
Save RX14/46250ee6d7640b922110 to your computer and use it in GitHub Desktop.
CR-TCPServ
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
require "socket" | |
require "./gamemanj-irctadv/*" | |
serv = TCPServer.new(6667) | |
loop do | |
socket = serv.accept | |
spawn GameConnection.new(socket).run | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment