Implemented Sockets for queue