in reply to Re: Bad arg length for Socket::unpack_sockaddr_in, length is 0, should be 16 at Socket.pm line 780
in thread Bad arg length for Socket::unpack_sockaddr_in, length is 0, should be 16 at Socket.pm line 780

Hi,

Thank you for the reply.

Unfortunately i can not switch to IO::Socket but had to go with Socket option only.
Can you please suggest any method to correct this issue?

Thanks and Regards,
Jobin Joseph
  • Comment on Re^2: Bad arg length for Socket::unpack_sockaddr_in, length is 0, should be 16 at Socket.pm line 780

Replies are listed 'Best First'.
Re^3: Bad arg length for Socket::unpack_sockaddr_in, length is 0, should be 16 at Socket.pm line 780
by Anonymous Monk on Sep 10, 2015 at 08:05 UTC

    Unfortunately i can not switch to IO::Socket but had to go with Socket option only. Can you please suggest any method to correct this issue?

    :) IO::Socket is a core module just like Socket -- you can use both

    At the very least try using IO::Socket to see if you can make it work ... then work back to see if you can figure out where you go wrong