Chris Botka wrote:

> 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.

Yes, EBADF it's used in dozens of system calls and BIND probably wouldn't
be needed in getprotobyname unless maybe it's using NIS or some other
name service.

> 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"


-- 
  ,-/-  __      _  _         $Bill Luebkert    Mailto:[EMAIL PROTECTED]
 (_/   /  )    // //       DBE Collectibles    Mailto:[EMAIL PROTECTED]
  / ) /--<  o // //      Castle of Medieval Myth & Magic http://www.todbe.com/
-/-' /___/_<_</_</_    http://dbecoll.tripod.com/ (My Perl/Lakers stuff)
_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to