Which one of the following function returns the port number of a specified service?
A. getportname()
B. getservername()
C. getserverbyname()
D. getservbyname()
Answer: Option D
Solution(By Examveda Team)
Example- getservbyname(“http”,”tcp”) will return 80.Related Questions on PHP Networking
A. Digital Network System
B. Domain Network System
C. Digital Name Systmem
D. Domain Name System
Which one of the following function checks for the existence of DNS records?
A. checkdns()
B. checkdnsr()
C. checkdnsrr()
D. checkdnsa()
A. dns_get_record()
B. dns_record()
C. dnsrr_get_record()
D. dnsrr_record()
A. getmx()
B. retrieve_mx()
C. getmxrr()
D. retrieve_mxrr()
Join The Discussion