Skip to content

the specified network name is no longer available Exception with HttpListener #1

@EslaMx7

Description

@EslaMx7

"the specified network name is no longer available" Exception with HttpListner.


this actually happens when the client close the connection and the server still writing to the output stream.

the only effective solution is to surround the writing operation with Try/Catch block and ignore the exception.

PST : httpListner.IgnoreWriteExceptions = true; // Seems Had No Effect :(

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions