Keep getting {:error, :closed} when concurrently connects a simple echo server

EchoServer calls accept in one process, then recv in a different, newly-spawned one.

The process that calls accept “owns” the connection (see also recent discussion here).

1 Like