Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 studying the Monastery: (4)
As of 2014-08-30 20:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (293 votes), past polls