update client & server sockets