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
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…