Deleting UDP messages

Blitz3D Forums/Blitz3D Programming/Deleting UDP messages

AngelOnFira(Posted 2014) [#1]
My program seems to delete any UDP messages that are in the queue to be looked at if I send out another UDP message. Is this suppose to happen?

While RecvUDPMsg(stream)

That is the line I use to read the UDP messages

SendUDPMsg(lanstream,playersend\ip,playersend\port)

And then I send out another UDP message but does it delete anything that wasn't looked at in the RecvUDPMsg(stream) command?


Wings(Posted 2014) [#2]
That sounds like udp.
have you checked if you send first udp dose it recive.
and wait 1 sec and send next one ?

please post some code whold be nice.