Skip to content

Instantly share code, notes, and snippets.

@bioduds
Created June 11, 2017 02:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bioduds/1171a1ab5cbda8af72a0550d2badee94 to your computer and use it in GitHub Desktop.
Save bioduds/1171a1ab5cbda8af72a0550d2badee94 to your computer and use it in GitHub Desktop.
this works! yay
my $socket = IO::Socket::Async.listen('192.168.1.106', 5000);
react {
whenever $socket.Supply -> $v {
say "Working";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment