UDP & Recieve messages

BlitzMax Forums/BlitzMax Programming/UDP & Recieve messages

Hello,

I've got this flightsim [x-plane] which can communicate with external programs using UDP. I would like to create an udp-connection in Blitzmax and recieve some sim-parameters but I'm just not able to get it working.
It can't be that difficult i guess. I've got another basic-programming-language which accomplished this quite easily.

I've got x-plane set up to send data to '127.0.0.1' port:8080.

Is there anybody who can show me a simple example how to retrieve this udp data?

BTW I tried to use Bnetex but it seems it doesn't work on my Intel Mac..

Ghislain