Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

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

by Sarten X (Initiate)
on Oct 15, 2008 at 20:50 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://717340]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-25 10:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found