For an update, what I did is output the data to an xml file on the server, then fetch the data with a simple http GET using RequestBuilder. To deal with SOP, I had to put the xml file on the same domain as my shindig container.
Thanks for the help, it is always appreciated. Andre On Nov 9, 9:55 am, Paul Robinson <[email protected]> wrote: > Run your java app on a server somewhere that can receive the UDP > packets, and then store them (in memory or in a database). GWT client > connects to your server to get the data > > Andre Leger wrote: > > Greetings, > > > I know this is not a pure GWT question, but a related one. > > > I have a web device that continuously sends UDP packets to a specific > > IP and port. I have a java application that is able to listen to the > > port and receive the packets. > > > What I want to do is create an OpenSocial gadget in GWT that will > > somehow take the data and be displayed in the gadget. I understand > > that I am not able to use the java.net.DatagramSocket and > > java.net.DatagramPacket classes in GWT because javascript does not > > support socket listening. > > > Anyone out there have a simple solution that would enable me to get > > the datagram data somehow. I would appreciate any suggestions. > > > Thank you, > > > Andre > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=.
