Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Client-Server app

by radu (Initiate)
on Sep 28, 2018 at 06:08 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1223199]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2024-04-19 11:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found