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
getprotobyname
getprotobyname
Gettheprotocolnumber
pfsockopen
pfsockopen
Openapersistentnetwo
gethostbynamel
gethostbynamel
GettheIPv4addresslis
getmxrr
getmxrr
GettheMXrecordcorres
fsockopen
fsockopen
Openanetworkconnecti
syslog
syslog
Generatesystemlogmes
getservbyname
getservbyname
Gettheportnumberasso
getservbyport
getservbyport
GetInternetservicesc
Popular Articles
getservbyname Function Error: Common Causes and Detailed Troubleshooting & Fixing Guide
How to combine getservbyname and getprotobyname to query protocols and ports
Best Practices for Using finfo::set_flags with finfo_file() – Did You Know?
getservbyname and getservbyport: Differences and Appropriate Use Cases
getservbyname Function Returns Null? Common Causes and Solutions