added code to send specific sockets messages