parrotcode: Echo client | |
Contents | Examples |
examples/io/echo_client.pir - Echo client
% ./parrot examples/io/echo_client.pir
echo
client, connects to echo
service and echoes what you type.
You should be running the echo service on your box (port 7). Be sure to set PARROT_NET_DEVEL
to 1 in io/io_private.h and rebuld Parrot or the network layer won't exist.
Shortly we will create an echo server in Parrot and combine these 2 into a test suite.
io/io_private.h.
|