📅  最后修改于: 2022-03-11 15:04:36.284000             🧑  作者: Mango
代码示例1
import socket # client
a = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
host = 'host ip '
port = 'host port'
a.connect((host,port))