|
What does the error message say? Is there a stack trace?
If theres none, its probably being closed programatically. Search for places in the code where the close() (or w/e the C# equivalent is) method is being called on the socket. Then look at why its being called.
Don’t just say something doesn’t work without giving at least some details…
|