"Missing" comm:shutdown
Hi,
I've been struggling for a few hours withn something that should be simple: open a network connection, write a file to the socket, then read back a response. Whatever I did, the read operation would either hang, or return with 0 bytes read. I tried interleaving reads and writes (based on some personal experience in creating deadlocks). I also tried calling force-output and finish-output on the socket stream: no help. I also tried closing the socket, which just meant that the read operation failed.