After establishing connection by "mysocket.connect(address)", we can normally send or recieve messages by function "send()" or "recv()" rather than "sendto()" or "recvfrom()".
查看答案
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.