examples/io/tcpserver.rb in polyphony-0.22 vs examples/io/tcpserver.rb in polyphony-0.23
- old
+ new
@@ -1,8 +1,8 @@
# frozen_string_literal: true
require 'bundler/setup'
-require 'polyphony/auto_run'
+require 'polyphony'
server = TCPServer.new('127.0.0.1', 1234)
puts 'echoing on port 1234'
while (socket = server.accept)