s.connect(address):連結伺服器,address的格式是一個tuple:(host, port),host是伺服器端IP、port是伺服器端綁定的端口。如果連線失敗,會傳回socket.error。 s.
確定! 回上一頁