4 lines
153 B
Perl
4 lines
153 B
Perl
|
# Format: getprotobyname(NAME);
|
||
|
|
||
|
($name, $aliases, $proto ) = getprotobyname('tcp');
|
||
|
print "name=$name\taliases=$aliases\t$protocol number=$proto\n";
|