import java.net.*; public class DatagramSocketExample { public static void main(String[] args) { try { DatagramSocket theClient = new DatagramSocket(); } catch (SocketException e) { } } }