def forward(source, destination):
string = ' '
while string:
string = source.recv(1024)
if string:
destination.sendall(string)
else:
#source.shutdown(socket.SHUT_RD)
destination.shutdown(socket.SHUT_WR)