http://bbs.csdn.net/topics/220033879 信息来自这里 所以说平时还是老老实实用\r\n的比较好 只用\n会在下一行有数据的时候出错, 有时间验证一下 转载于:https://www.cnblogs.com/whx20202/p/3402167.html