### ----------------------------------------------------
### -- MongoDB
### -- Licenses: Artistic-2.0
### -- Authors: Marcel Timmerman, Paweł Pabian
### -- File: Tests/IO/open-socket.raku
### ----------------------------------------------------
#!/usr/bin/env perl6

use v6;

my IO::Socket::INET $sock;
$sock .= new( :host('localhost'), :port(65010));
$sock.close;
note $sock.perl;

$sock .= new( :host('localhost'), :port(65333));
$sock.close;


