import socket

client = socket.socket()

ip_port = ("127.0.0.1", 8888)

client.connect(ip_port)

data = client.recv(1024)

print(data.decode())

while True:
	msg_input = input("请输入消息:")
	client.send(msg_input.encode())
	if msg_input == 'exit':
		break
	data = client.recv(1024)
	print(data.decode())

1c995825606cb4008f84fef4ce9123ec83bbcc65
<mask token>

<mask token>
client.connect(ip_port)
<mask token>
print(data.decode())
while True:
    msg_input = input('请输入消息:')
    client.send(msg_input.encode())
    if msg_input == 'exit':
        break
    data = client.recv(1024)
    print(data.decode())

<mask token>
client = socket.socket()
ip_port = '127.0.0.1', 8888
client.connect(ip_port)
data = client.recv(1024)
print(data.decode())
while True:
    msg_input = input('请输入消息:')
    client.send(msg_input.encode())
    if msg_input == 'exit':
        break
    data = client.recv(1024)
    print(data.decode())

import socket
client = socket.socket()
ip_port = '127.0.0.1', 8888
client.connect(ip_port)
data = client.recv(1024)
print(data.decode())
while True:
    msg_input = input('请输入消息:')
    client.send(msg_input.encode())
    if msg_input == 'exit':
        break
    data = client.recv(1024)
    print(data.decode())

import socket

client = socket.socket()

ip_port = ("127.0.0.1", 8888)

client.connect(ip_port)

data = client.recv(1024)

print(data.decode())

while True:
	msg_input = input("请输入消息:")
	client.send(msg_input.encode())
	if msg_input == 'exit':
		break
	data = client.recv(1024)
	print(data.decode())
