Network connection with UWP Apps

前端 未结 3 1810
没有蜡笔的小新
没有蜡笔的小新 2020-12-19 19:39

I got two Windows UWP Apps. One of them (the "server") is running on a Raspberry Pi 2 on Windows IoT (10586.0). The other (the "client") is running on an

3条回答
  •  再見小時候
    2020-12-19 20:12

    You should try using StreamSocket API in UWP. This sample repo contents both server and client code: https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/StreamSocket

    A method was called at an unexpected time. (Exception from HRESULT: 0x8000000E)

    This error happened for me when I try to call ConnectAsync twice in a row, I think you can check your logic or debug to confirm in your case.

提交回复
热议问题