Home
PHP
Tags
PHP Tutorial
Latest Articles
English
English
简体中文
中文(繁體)
日本語
한국어
Français
Deutsch
မြန်မာဘာသာ
Current Location:
Home
>
Function Categories
>
getservbyname
getservbyname
Get the port number associated with Internet services and protocols
Name:
getservbyname
Category:
Network
Programming Language:
php
One-line Description:
Returns the port number for the given Internet service and protocol.
Related
getservbyname and getservbyport: Differences and Appropriate Use Cases
7
Best Practices for Using finfo::set_flags with finfo_file() – Did You Know?
10
getservbyname Function Error: Common Causes and Detailed Troubleshooting & Fixing Guide
4
How to combine getservbyname and getprotobyname to query protocols and ports
9
getservbyname Function Returns Null? Common Causes and Solutions
10
Similar Functions
getmxrr
getmxrr
GettheMXrecordcorres
gethostbynamel
gethostbynamel
GettheIPv4addresslis
getprotobyname
getprotobyname
Gettheprotocolnumber
inet_pton
inet_pton
Converthuman-readabl
gethostbyaddr
gethostbyaddr
Getthehostnamecorres
header_register_callback
header_register_callback
Callaheaderfunction
ip2long
ip2long
ConvertIPV4'sstr
headers_list
headers_list
ReturnsthesentHTTPre
Popular Articles
getservbyname Function Error: Common Causes and Detailed Troubleshooting & Fixing Guide
getservbyname Function Returns Null? Common Causes and Solutions
Best Practices for Using finfo::set_flags with finfo_file() – Did You Know?
getservbyname and getservbyport: Differences and Appropriate Use Cases
How to combine getservbyname and getprotobyname to query protocols and ports