Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

A Simple Socket Server Using 'inetd'

by samizdat (Vicar)
on Apr 19, 2006 at 12:26 UTC ( [id://544341]=perltutorial: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w -T
    
    ...
    # do your processing here!
        print "  $line\n";
    }
    
  2. or download this
    # chmod +x /usr/local/bin/sinet.pl
    
  3. or download this
    secshsms    6100/tcp   # DSW Handler for SECS-II/GEM HSMS traffic
    secshsms    6100/udp   # DSW
    
  4. or download this
    # DSW add-on for SECS-II over HSMS
    secshsms    stream    tcp    nowait    nobody    /usr/local/bin/sinet.
    +pl secshsms
    
  5. or download this
    # ps -ax | grep inetd
      563  ??  Is      0:00.01 /usr/sbin/inetd -wW -C 60
    # kill -1 563
    
  6. or download this
    #!/usr/bin/perl
    
    ...
    }
    exit;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (None)
    As of 2024-04-18 23:42 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found