trying connecting with sockets