Receiving Packets via UDP

walterf25

Expert
Licensed User
Longtime User
Hello everyone, i'm sending an image via UDP from an application in my desktop to my android phone, i need to figure out how to receive all the data bytes, so far i only receive 128 bytes and the entire image size is around 4700 bytes, how can i make it so that i receive all the bytes, i'm using the
B4X:
Sub UDP_PacketArrived (Packet As UDPPacket)
method, can anyone please help me with this?

thanks,
Walter
 
Top