If you want to receiving data , then using Datagram package to construct and receive the data
previous | Home | Next |
Example
import java.net.*; public class udpreceivedata { public static void main(String args[]) { byte[] b = new byte[8096]; DatagramPacket datapac = new DatagramPacket(b, b.length); } }
previous | Home | Next |