题目内容

The output of the function "socket. getprotobyname('TCP')" is ____ .The output of the function "socket. getservbyname('daytime')" is ____ .The output of the function "socket. getservbyport(53)" is ____ .

查看答案
更多问题

To call getaddrinfo() with the flag of ____ will return the IPv4 addresses reencoded as IPv6 addresses that you can actually use.

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

A. 对
B. 错

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. 错

答案查题题库