getprotoent
setprotoent
STAYOPEN
endprotoent
These functions do the same thing as their like-named system library routines - see getprotent (3). The return value from getprotoent is:
($name, $aliases, $protocol_number)
In scalar context, getprotoent returns only the protocol name.
[ Library Home | Perl in a Nutshell | Learning Perl | Learning Perl on Win32 | Programming Perl | Advanced Perl Programming | Perl Cookbook ]