Is possibility in开发者_如何学运维 java without using native functions to send datagrams ?
Sure - here's an example.
And here's the Javadoc for DatagramPacket.
Yes. See the DatagramPacket class and this tutorial for more details. Datagrams are supported in standard Java J2SE.
精彩评论