client.py 290 Bytes
import socket
import sys

if __name__ == '__main__':
	clientSocket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM);
	data = sys.argv[2];
	clientSocket.sendto(data.encode(),(sys.argv[1],9090));
	dataFromServer,sourceAddress = clientSocket.recvfrom(1024);
	print(dataFromServer.decode());