Glossary Term
getservbyname()
3 tags
1 category
getservbyname() — Get port number associated with an Internet service and protocol.
getservbyname returns the Internet port which corresponds to service for the specified protocol as per /etc/services.
Inputs: service: The Internet service name, as a string. protocol: protocol is either “tcp” or “udp” (in lowercase).
Returns: Returns the port number, or false if service or protocol is not found.
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
