MCPcopy Create free account
hub / github.com/davisking/dlib / main

Function main

examples/server_http_ex.cpp:87–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85};
86
87int main()
88{
89 try
90 {
91 // create an instance of our web server
92 web_server our_web_server;
93
94 // make it listen on port 5000
95 our_web_server.set_listening_port(5000);
96 // Tell the server to begin accepting connections.
97 our_web_server.start_async();
98
99 cout << "Press enter to end this program" << endl;
100 cin.get();
101 }
102 catch (exception& e)
103 {
104 cout << e.what() << endl;
105 }
106}
107
108

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
whatMethod · 0.45

Tested by

no test coverage detected