You cannot use every Java class in GWT client code; I'm pretty sure that java.net classes are not included. See http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html for a list of emulated classes.
On Aug 22, 8:35 am, "Kb ." <kb.kb.1...@gmail.com> wrote: > I have a Java code that uses > > java.net.DatagramPacket; > java.net.DatagramSocket; > java.net.InetAddress; > > It runs fine in eclipse if Run as Java application > But when using it in GWT client code it does not compile. > > I tried copying files to GWT server package and then importing in > Client But Stil Does not Compile. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.