Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: A Simple Socket Server Using 'inetd'

by Anonymous Monk
on Aug 05, 2008 at 20:01 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://702469]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-23 22:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found