Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
public class TraceWriter extends Object {
/**
* Members
*/
short DBGLVL = 0;
String PgmName = "DEFAULT";
private DatagramSocket socket;
...
...
public TraceWriter(String path) {
setPropertyPath(path);
try {
socket = new DatagramSocket();
address = InetAddress.getByName(HOST_NAME);
} catch (SocketException e) {
System.err.println("Error in opening Datagram socket: ");
System.err.println(e.getMessage());
} catch (UnknownHostException e) {
System.err.println("Error in getByName(): ");
System.err.println(e.getMessage());
}
}