Mercurial > hg > Papers > 2020 > koo-thesis
view Paper/code/client.p6 @ 22:b96b3244307b
update paper & slide
author | e165727 <e165727@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 16 Feb 2020 18:20:36 +0900 |
parents | 242bf93dbbb5 |
children |
line wrap: on
line source
use IO::Socket::Unix; my $conn = IO::Socket::INET.new( :host<localhost>, :port(3333) ); $conn.print: 'Absolute file path'; my $sock_msg; while my $buf = $conn.recv(:bin) { $sock_msg = $buf.decode; last; } say $sock_msg;