Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Client-Server app

by bliako (Monsignor)
on Sep 28, 2018 at 11:40 UTC ( [id://1223220]=note: print w/replies, xml ) Need Help??


in reply to Client-Server app

also, add the following in your server where you handle the QUIT case:

my $ret = $client_socket->shutdown(2); if( ! defined($ret) ){ print STDERR "$0 : error shutdown() : not a val +id filehandle.\n"; } elsif( $ret == 0 ){ print STDERR "$0 : error shutdown() : $!\n"; } else { print "$0 : socket shutdown OK\n"; }

Log In?
Username:
Password:

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

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

    No recent polls found