trying to send to sockets via a different method