Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: A Simple Socket Server Using 'inetd'

by Anonymous Monk
on Aug 05, 2008 at 20:01 UTC ( #702469=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     
    #!/usr/local/bin/perl5.00506 -Tw
    # add the -Tw for testing
    ...
    close(LOGFILE);
    print "Logged message successfully\n";
    exit;
    
  2. or download this
    #!/usr/local/bin/perl/perl -w 
     
    ...
    print ("$answer\n");
    close($socket);
    exit;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2014-08-29 01:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (275 votes), past polls