Which one of the following statements can be used to establish port 80 connection with www.examveda.com?
A. fsockopen(“www.examveda.com”, 80);
B. sockopen(80,”www.examveda.com”);
C. fsockopen(80,”www.examveda.com”);
D. sockopen(“www.examveda.com”, 80);
Answer: Option A
Solution(By Examveda Team)
The fsockopen() function establishes a connection to the resource designated by target on port.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