Another issue I ran across and its different across different phones/tablets.
Is this:
Astream.Write(data)
Astream.close
Socket1.Close
This code works. Most of the time. But with different hardware, especially this one, sometimes the Astream.Write doesnt finish, or doesnt get started at all before the Astream.Close event happens, or the socket close. killing off the ability to send the packet.
any ideas how to check for successful transmission before close?