receive函数返回他送接收到的数据加上一个表示操作状态的字符串。当主机断开连接时,我们退出循环。看receive的说明http://w3.impa.br/~diego/software/luasocket/tcp.html