perl - How do I get the IP address of the server a request is coming from? -


how ip address of server request coming from. here's scenario;

i have 2 servers - client|server. how can detect ip of client server in perl

you need getpeername. please perldoc.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -