题目内容

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

What is a socket?

A. TCP connection between local computers only
B. Abstraction of ports on which data can be transmitted
C. connection between computers, over UDP only
D. Programming that allows only local computers to communicate with each other

答案查题题库