parent
742189985d
commit
6848203dd2
@ -0,0 +1,17 @@
|
||||
# vim:fileencoding=utf-8
|
||||
|
||||
require 'socket'
|
||||
|
||||
|
||||
def main
|
||||
server = TCPServer.new(55784)
|
||||
loop do
|
||||
client = server.accept
|
||||
$stderr.puts client.gets
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
if __FILE__ == $0
|
||||
main
|
||||
end
|
Loading…
Reference in new issue