locked
StreamSocket reset by remote peer RRS feed

  • Question

  • Hi,

    I'm using a StreamSocketListener to build a local HttpServer since we are using a webview inside the App and local content. The problem is that StreamSocket is closed unexpectly by the webview client(the StreamSocketError is ConnectionResetByRemotePeer) and the listener stops receiving requests events or the socket is null when they arrive. Any idea why is this happening???



    Wednesday, May 7, 2014 9:57 AM

All replies

  • Have you tried checking the network traffic to see if something weird is going on? Do you have access to the web server?  Does it happen with other websites?

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Wednesday, May 7, 2014 7:21 PM
    Moderator