Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Client-Server app

by radu (Initiate)
on Sep 28, 2018 at 06:08 UTC ( #1223199=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        while(my $buffer = <$client_socket>){
            ....
            open(my $fh, '>>', $output) or die "Could not open file '$outp
    +ut' $!";
            print $fh $buffer;
        }
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    
    # Start the Main loop
    Main();
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1223199]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2020-10-31 05:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (286 votes). Check out past polls.

    Notices?