none
UWP ping? RRS feed

  • Question

  • Hi, i been working on a Ping Server directx version of one my scripts.

    I been trying to use TCPCLIENT but it wont work at all. Tried to download System.Net.Ping but can't get that to work either.

    Any help?


    • Edited by KoffeSwed Saturday, November 25, 2017 3:52 PM
    Saturday, November 25, 2017 3:51 PM

Answers

  • Found a class. StreamSockets. They work fine.

    This under should work.

    StreamSocket socket = new StreamSocket();

    await socket.ConnectAsync(new HostName("127.0.0.1"), "80");

    • Marked as answer by KoffeSwed Saturday, November 25, 2017 6:22 PM
    Saturday, November 25, 2017 4:16 PM