ng clientsocket file and made changes to senddata to server file

Signed-off-by: Gurpreet1928 <gmatharu@usc.edu>