UDP socket works in development server, but not deployed to app engine
TCP socket works fine, but when I use UDP socket, it doesn't work. After a long eating, my page comes with this: Error: Server ErrorThe server encountered an error and could not complete your request. If the problem persists, please report<http://code.google.com/appengine/community.html> your problem and mention this error message and the query that caused it. Following is my code: InetAddress aaddr=InetAddress.getByName("220.152.188.241"); InetSocketAddress sockAddress=new InetSocketAddress(aaddr, port); socket=new DatagramSocket(); String dataToSend="From google"; DatagramPacket packet=new DatagramPacket(dataToSend.getBytes(),dataToSend.length(),sockAddress); socket.send(packet); if I don't call socket.send, it's OK. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/groups/opt_out.
