摘要: 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 阅读全文
posted @ 2012-11-21 11:51 易木 阅读(540) 评论(0) 推荐(0) 编辑