Updating sending methods to actually send to the socket.