from socket import * from struct import * skt = socket(AF_INET, SOCK_STREAM) skt.connect(("isoptera.lcsc.edu", 5071)) numbers = skt.recv(20) print(numbers) format_string = ">IIIII" number_tuple = unpack_from(format_string, numbers) # Returns a tuple print(number_tuple) skt.close()