-
-
Save jsn/490e26c0497ac1ba6c715a2105a86875 to your computer and use it in GitHub Desktop.
crystal lang *Server bug
This file contains hidden or 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
# compile with --release, connect with netcat: nc localhost 12300, try multiple times | |
require "socket" | |
TCPServer.new(12300, reuse_port: true).accept.puts "hi" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment