The function: "mysocket.getpeername()" can be used to returns the remote address to which this socket is connected.
查看答案
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. 错