in reply to File/Data Streaming over a socket
Update: I used port number to 1080, so you don't need to run this as root.#!perl -w use strict; use IO::All; # create server my $socket = io('localhost:1080')->fork->accept; print "Connection opened\n"; # slurp incoming data my $xml = $socket->slurp; print "Data recieved:\n"; print $xml;
|
|---|