Jim Wagner
2017-04-21 22:06:16 UTC
Greetings NUG -
I have an application where I have a device connected to the host via an ethernet cable. No switchers, routers, hubs, etc. Just plain direct cross-over cable.
This device broadcasts its ip address (and other information) via UDP on port 13000. EasyUDPSocket seems to be an appropriate tool to use, but I am greatly confused. The documentation says that it has no DataAvailable event - how are you supposed to access received data. The documentation only seems to talk about sending! It is also not clear how to add an EasyUDPSocket to the project. I add a generic object and EasyUDPSocket is not an option. I can add a UDPSocket and EasyUDPSocket is an option but it seems to want to give me “AutoDiscovery”. A bit of help would really be appreciated.
Also, can anyone provide some hints about how to manage the host’s firewall so that UDP packets can be received?
Many thanks
Jim
James Wagner
Oregon Research Electronics
http://www.orelectronics.net <http://www.orelectronics.net/>
_______________________________________________
Xojo forum:
https:/
I have an application where I have a device connected to the host via an ethernet cable. No switchers, routers, hubs, etc. Just plain direct cross-over cable.
This device broadcasts its ip address (and other information) via UDP on port 13000. EasyUDPSocket seems to be an appropriate tool to use, but I am greatly confused. The documentation says that it has no DataAvailable event - how are you supposed to access received data. The documentation only seems to talk about sending! It is also not clear how to add an EasyUDPSocket to the project. I add a generic object and EasyUDPSocket is not an option. I can add a UDPSocket and EasyUDPSocket is an option but it seems to want to give me “AutoDiscovery”. A bit of help would really be appreciated.
Also, can anyone provide some hints about how to manage the host’s firewall so that UDP packets can be received?
Many thanks
Jim
James Wagner
Oregon Research Electronics
http://www.orelectronics.net <http://www.orelectronics.net/>
_______________________________________________
Xojo forum:
https:/