3 lines
107 B
Perl
3 lines
107 B
Perl
|
#Format: getservbyname(NAME, PROTOCOL);
|
||
|
|
||
|
($name,$aliases,$port,$protocol)=getservbyname('telnet', 'tcp');
|