Sending messages over wifi working