public static void main(String[] args) throws IOException {
// TODO Auto-generated method stub
try(Socket s = new Socket("time-A.timefreq.bldrdoc.gov", 13)){
InputStream inStream = s.getInputStream();
Scanner in = new Scanner(inStream);
while(in.hasNextLine()){
String line =in.nextLine();
System.out.println(line);