Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2016-08-29 22:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (409 votes). Check out past polls.