Internet programming Sockets Write the Python code that will create a socket to connect to the server on host rainier.kennesaw.edu that is listening on port number 54321. Solution Desired Program with proper comments are given below: #!/usr/bin/python # client code to connect to server import socket # Here we are importing the socket module soc = socket.socket(socket.AF_INET, socket.SOCK_STREAM) # Here we are creating the socket host = socket.gethostname() # here we can modify this value according to the ip of server hostname port = 54321 # Port on which we will connect soc.connect((host, port)) # Here we are connecting to the host and port print soc.recv(1024) # Printing the data receiver from server of 1024 bytes only soc.close # closing the socket .