Q7
Which one of the following statements can be used to establish port 80 connection with www.examveda.com?
A.
fsockopen(“www.examveda.com”, 80);
AnswerB.
sockopen(80,”www.examveda.com”);
C.
fsockopen(80,”www.examveda.com”);
D.
sockopen(“www.examveda.com”, 80);
Answer: Option A
Solution
Answer: Option A
Solution:
The fsockopen() function establishes a connection to the resource designated by target on port.