Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: A Simple Socket Server Using 'inetd'

by Sarten X (Initiate)
on Oct 15, 2008 at 20:50 UTC ( #717340=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        my $hersockaddr    = getpeername(STDOUT);
        my ($port, $iaddr) = sockaddr_in($hersockaddr);
        my $ip = inet_ntoa($iaddr);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2014-09-01 22:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (17 votes), past polls