adding sockets code