Assume there's no application listening at port 12340 in localhost.
Shouldn't the command below print "error" ?
$ raku -e "IO::Socket::INET.new(:host('localhost'), :port(12340)) or die 'error'"
Could not connect socket: No connection could be made because the target machine actively refused it.
in block <unit> at -e line 1