题目内容

The function: "mysocket.getsockname()" can be used to returns the remote address to which this socket is connected.

A. 对
B. 错

查看答案
更多问题

After establishing connection by "mysocket.connect(address)", we can normally send or recieve messages by function "send()" or "recv()" rather than "sendto()" or "recvfrom()".

A. 对
B. 错

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()

答案查题题库