getservbyport()
は、/etc/servicesに基づき 指定したプロトコル
protocol
に関して ポート
port
に関連するインターネットサービスを 返します。
protocol
は、
TCP
または
UDP
のどちらかです。
getservbyname()
も参照下さい。