Skip to content

how connect to server

reza edited this page Aug 29, 2021 · 1 revision

Server must be running for example if your pc ip is:192.168.70.50 then

Request request = new Request(Method.GET); request.URI = new Uri("coap://192.168.70.50:5683/hello"); request.Send();

        // wait for one response
        Response response = request.WaitForResponse();
Clone this wiki locally