can anyone tell me how to create a program that when the user draws on the client side it also appears on the server side, any help is appreciated. just a simple drawing application

i have made the client and server they both communicate but i cant them both to draw the same drawing when one draws it.

all i can send between them is a string, please help, any is appreciated