Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Client-Server app

by bliako (Prior)
on Sep 28, 2018 at 11:40 UTC ( #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
Node Status?
node history
Node Type: note [id://1223220]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2020-10-21 13:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (217 votes). Check out past polls.

    Notices?