Ask Question
2 July, 01:05

What two items must be given to the socket function in order to create a socket object? A) The socket type that will be used. B) The socket port that will be used. C) The IP address to be used. D) The socket family that will be used.

+1
Answers (1)
  1. 2 July, 02:13
    0
    The correct option are:-

    a) The socket type that will be used

    d) The socket family that will be used

    Explanation:

    The socket () method generates the unbound socket in a networking domain and returns a descriptor of the register, which can be used in subsequent socket function calls.

    The socket () method takes three arguments:

    Domain: - The domain for which a socket is to be built is defined.

    Type: - The socket type to be generated is defined.

    Protocol: - It specifies a common socket protocol to use. The protocol setting of 0 causes socket () to use a default uninstalled protocol that is suitable for the socket type requested.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “What two items must be given to the socket function in order to create a socket object? A) The socket type that will be used. B) The socket ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers