How to read data from socket in Lua until no more data is available?

后端 未结 0 1271
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-28 00:37

I can\'t manage to read the data from a luasocket. If i read more than the available data, the function call keeps blocked waiting until the client decides to close.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题