Beijer Electronics (formerly QSI Corporation)

Send UDP message example
Page 1 of 1

Author:  congo181 [ Mon Jul 16, 2012 8:44 am ]
Post subject:  Send UDP message example

Hi there from a newbie.

Is there an example or code fragment available anywhere that shows sending a UDP message from a terminal?
I've done some searching of the forum already, been through all the tutorials and example files, and most of the Ethernet examples seem to relate to receiving over ethernet.

Any help or examples of simple 'send UDP message' code would be appreciated.

Cheers, and thanks for the forum and the system,

Author:  Ron L. [ Wed Jul 18, 2012 10:29 am ]
Post subject:  Re: Send UDP message example

Yes, see the EthernetClient example that is included with Qlarity Foundry.

Snap 2012-07-18 at 11.28.12.jpg
Snap 2012-07-18 at 11.28.12.jpg [ 129.51 KiB | Viewed 4864 times ]

Author:  Jeremy [ Mon Aug 13, 2012 6:56 am ]
Post subject:  Re: Send UDP message example

In the special case where you want to transmit UDP, but don't care about receiving or are receiving already via other means, you can use NetSendDatagram. This is a fairly easy-to-use API for a quick and dirty datagram. You can see an example in the F1 help under NetSendDatagram.

Author:  congo181 [ Sun Aug 26, 2012 6:37 am ]
Post subject:  Re: Send UDP message example

Thanks for that Jeremy.
I'll have a look at it.

Page 1 of 1 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group