I'm working on a P2P Client with a particular protocol spec (https://p2pquake.github.io/epsp-specifications/epsp-specifications.html, might want to translate). It is very incomplete tho, but I'm currently on implementing the peer connection part.
Iβm stuck because my async_read_until handler never runs even though the remote peer is sending \nβterminated messages. The socket successfully connects to the peer, and writes just fine to the peer, but reading from the peer somehow breaks. I don't know whether its because of ncat or sth but it is not working. Using a debugger is fruitless.
Its expected to at least show a log saying "Received: <string> ..." or an error but nothing appears.