The error is a generic error for a failed BIND.  So smeting might not be
congigured correctly.  I guess it could also be a generic error message for
other things too though.  But I know it's one from BIND under solaris.

CB


-----Original Message-----
From: Seemanto Barua [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 08, 2004 8:25 AM
To: [EMAIL PROTECTED]
Subject: [Perl-unix-users] getprotobyname


Hi All,

I have perl version 5.00503 installed on sunos machine. Do i need to add
aditional module to use the function getprotobyname ?

          #!/usr/bin/env perl 

           print("Name " . (getprotobyname('udp'))[2] . "\n" );

 The above code  when run gives the error:

  "Error Bad file number"

-thanks
_______________________________________________
Perl-Unix-Users mailing list [EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to