getproto
getproto (protocol
)
- Front-end for
getprotobynumber
andgetprotobyname
. If protocol is numeric, callsgetprotobynumber
, otherwise callsgetprotobyname
.
getproto (protocol
)
getprotobynumber
and getprotobyname
. If protocol is numeric, calls getprotobynumber
, otherwise calls getprotobyname
.