摘要:
1importjava.io.IOException;2importjava.io.InputStream;3importjava.net.Socket;4importjava.util.Scanner;567publicclassSocketTest{8publicstaticvoidmain(String[]args){9Sockets=null;10try{11s=newSocket("time-A.timefreq.bldrdoc.gov",13);12InputStreaminStream=s.getInputStream();13Scannerin=newSca 阅读全文