# Heya, I have a question about asyncnet. proc clientLoop(client: AsyncSocket) {.async.} = while true: let data = await client.recvLine() if data == "": break for c in clients: await c.send(data & "\r\L") # When a client is stuck on client.recvLine and another client sends data to it, # that client won't receive those messages until it sends some data. Is that # normal? (I added `if data == "\r\L": continue` and had the client send an empty # line to fix it) # I was just wondering because it seems like I shouldn't have to send anything to # the server in order to receive data back. I might also have a bug in my actual # client code too lol