62,634
社区成员




while(true)
{
OutputStream ostr=socket.getOutputStream();
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
// System.out.println("hello"+new Date());
ostr.write(("hello"+new Date()).getBytes());
ostr.flush();
ostr.close();
}