Results 1 to 3 of 3
Thread: Send XML message over UDP?
- 06-22-2011, 04:45 PM #1
Member
- Join Date
- Jun 2011
- Posts
- 1
- Rep Power
- 0
- 06-22-2011, 05:12 PM #2
Is there anything special about the data that you want to send to a server?
What do you expect the server to do with the data it receives?
Do you know how to use Datagrams to send data to a server? Have you tried that?
Perhaps something like this could be used:
Java Code:InetAddress localhost = InetAddress.getByName("11.222.33.44"); DatagramSocket socket = new DatagramSocket(3243, localhost); socket.send(new DatagramPacket(notifyRequestBytes,notifyRequestBytes.length,localhost, 1234));
- 06-22-2011, 06:25 PM #3
Similar Threads
-
Send AMF message from client
By nguyenkimhuyit in forum NetworkingReplies: 0Last Post: 04-22-2011, 09:27 AM -
java swing program to send message to a mobile?
By Manish87 in forum AWT / SwingReplies: 2Last Post: 12-05-2010, 08:09 AM -
how to send picture message sms using smpp in java
By manishsuvasiya in forum Advanced JavaReplies: 2Last Post: 11-22-2010, 05:34 AM -
how to send picture message using smpp in java
By manishsuvasiya in forum New To JavaReplies: 1Last Post: 11-16-2010, 05:25 AM -
Send error message from servlet to jsp
By karq in forum Java ServletReplies: 4Last Post: 07-02-2010, 10:07 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks