0
我正在使用即時消息機器人。最近,即時通訊軟件(palringo)改變了連接設置,我不知道如何獲得新的套接字服務器地址和端口,可以將機器人連接到即時通訊軟件。如何獲取即時通訊服務器的Socket服務器地址和端口?
代碼:
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
server_address = ('80.69.129.4',12345);
print('Attempting to connect to the server')
try:
sock.connect(server_address)
對不起,我明白了錯題。可以諮詢官方客服人員 – kevintao