My_socket is modified to server and client and seems to be done.
Test_my_socket is made to test socket and it works:)