import sys
import socket
import time

server_addr = ("localhost", 6666)
client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
client_socket.connect(server_addr)
data = client_socket.recv(1024)
print(data)

time.sleep(30)

@@ -166,16 +166,85 @@
 r_addr)%0A
+while True:%0A    print(%22test%22)%0A    client_socket.send('msg test')%0A    
 data = c
@@ -267,16 +267,20 @@
 v(1024)%0A
+    
 print(da
@@ -283,17 +283,20 @@
 t(data)%0A
-%0A
+    
 time.sle
@@ -302,8 +302,7 @@
 eep(
-30
+1
 )%0A

add while statement for testing echo server