Unable to read data from the transport connection: A blocking operation was interrupted by a call to WSACancelBlockingCall

后端 未结 2 1540
迷失自我
迷失自我 2021-01-14 15:35

I am developing a client-server chat application and I have encountered the following exception when I close the client window.

Unable to read data from the transpor

2条回答
  •  佛祖请我去吃肉
    2021-01-14 15:55

    If you call a .Close() on any of you readers or writers to the underlying stream. and try to use that reader or writer afterwards, then you will get this error.

提交回复
热议问题