题目内容

The value AF_INET means using the address family for IPv6.

A. 对
B. 错

查看答案
更多问题

Socket programming support multi-programming.

A. 对
B. 错

Which method of the socket module allows a server socket to accept requests from a client socket from another host?

A. socket.accept()
B. socket.sendto(address)
C. socket.acceptsocket()
D. accept.socket()

Which is the difference between the TCP and UDP protocols, and how do you implement them in Python with the socket module?

A. TCP is compatible with Python, which UDP is not.
B. There are no differences.
C. TCP is not connection-oriented, which UDP is.
D. TCP is connection-oriented, which UDP is not.

Which of the following ports is available for socket programming?

A. 8080
B. 8081
C. 21
D. 25

答案查题题库