Note that the Python program can always use a socket's getsockname() method ... like this: $ python udp_local.py client Address before sending: ('0.0.0.0', ...
確定! 回上一頁