Home / CSE / PHP - CS :: Discussion

Discussion :: PHP - CS

  1. Which one of the following statements can be used to establish port 80 connection with www.examveda.com?

  2. A.

     fsockopen(“www.examveda.com”, 80);

    B.

     sockopen(80,”www.examveda.com”);

    C.

     fsockopen(80,”www.examveda.com”);

    D.

     sockopen(“www.examveda.com”, 80);

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    The fsockopen() function establishes a connection to the resource designated by target on port.


Be The First To Comment