//###### 为什么先关闭in,out后关闭socket客户端第二次连接时,客户端会出异常########

if (null != socket)
{
socket.close();
}
if (null != in)
{
// 关闭BufferedInputStream
in.close();
}
if (null != out)
{
// 关闭OutputStream
out.close();
}