in reply to Re^3: Getting port number with AnyEvent::Socket
in thread Getting port number with AnyEvent::Socket

I love you :D

What i actually ended up with is my ($port,$addr) = sockaddr_in(getpeername($shandle->fh));

Which works like a charm!
  • Comment on Re^4: Getting port number with AnyEvent::Socket