#coding:utf-8
import socket
s = socket.socket(socket.AF_INET,socket.SOCK_DGRAM)
s.connect(('192.168.153.1',9999))
print('I am connecting the server!')
for xx in ['aBch','f服务d','h7Tq','.']:
    s.send(xx.encode('utf-8'))
    str1 = s.recv(1024)
    str2 = str(str1,encoding='utf-8')
    print('The original string is :',xx,'\tthe processed string is:',str2)
s.close()