c++ rest sdk http_listener as a network server

Viewed 10483

How to configure http_listener to listen on my ip address so other computers on the network can send requests to the server ?

http_listener listener(L"http://localhsot:9000"); // not working
http_listener listener(L"http://0.0.0.0:9000"); // run time error
http_listener listener(L"http://*:9000");       // run time error

I want to use c++ rest sdk as a server on my local network .

4 Answers
Related