|
getservbyport
Get Internet service which corresponds to port and protocol
(PHP 4, PHP 5)
Related Examples ( Source code ) » getservbyport Examples ( Source code ) » getservbyport Code Examples / Notes » getservbyportq9603062
Like the previous post of palands, the protcol tcp must be in lower case, either quoted or unquoted.. Example: $value=getservbyport(31337, "tcp"); Uppercase will not work. paland
Example: $value=getservbyport(137, "udp"); The same goes for getservbyname() |
Change Languagecheckdnsrr closelog debugger_off debugger_on define_syslog_variables dns_check_record dns_get_mx dns_get_record fsockopen gethostbyaddr gethostbyname gethostbynamel getmxrr getprotobyname getprotobynumber getservbyname getservbyport header headers_list headers_sent inet_ntop inet_pton ip2long long2ip openlog pfsockopen setcookie setrawcookie socket_get_status socket_set_blocking socket_set_timeout syslog |