Examveda
Examveda

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.

This Question Belongs to PHP >> PHP Networking

Join The Discussion

Related Questions on PHP Networking