Hello All,
 
I am still stuck with this problem. Any help will be greatly appreciated.
 
Sushil
-----Original Message-----
From: Negi Sushil
Sent: Friday, October 22, 2004 12:55 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Bad arg length for socket::inet_ntoa

Hello All,
 
I am getting an unhandled exception sporadically while executing my Perl DLL
 
Error Number: 0x0
Description: Bad arg length for Socket::inet_ntoa, length is 0, should be 4 at CreateIP.pl line 248.
 
the line 248 is
 
 local $ret = &createsetRegKeyValue("HKEY_LOCAL_MACHINE","SYSTEM\\CurrentControlSet\\MachineIP", "MachineIP", "REG_SZ", inet_ntoa(inet_aton(Win32::NodeName())), @_[0]);
intrestingly the IP address is successfully set in the registry.
 
Any thoughts will be appriciated.
Sushil
-------------------------------------------------------------------------------
This message and any included attachments are from Siemens Medical Solutions
USA, Inc. and are intended only for the addressee(s).
The information contained herein may include trade secrets or privileged or
otherwise confidential information. Unauthorized review, forwarding, printing,
copying, distributing, or using such information is strictly prohibited and may
be unlawful. If you received this message in error, or have reason to believe
you are not authorized to receive it, please promptly delete this message and
notify the sender by e-mail with a copy to [EMAIL PROTECTED]

Thank you
-------------------------------------------------------------------------------
This message and any included attachments are from Siemens Medical Solutions
USA, Inc. and are intended only for the addressee(s).
The information contained herein may include trade secrets or privileged or
otherwise confidential information. Unauthorized review, forwarding, printing,
copying, distributing, or using such information is strictly prohibited and may
be unlawful. If you received this message in error, or have reason to believe
you are not authorized to receive it, please promptly delete this message and
notify the sender by e-mail with a copy to [EMAIL PROTECTED]

Thank you
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to