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

Function main

examples/server_iostream_ex.cpp:64–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62
63
64int main()
65{
66 try
67 {
68 serv our_server;
69
70 // set up the server object we have made
71 our_server.set_listening_port(1234);
72 // Tell the server to begin accepting connections.
73 our_server.start_async();
74
75 cout << "Press enter to end this program" << endl;
76 cin.get();
77 }
78 catch (exception& e)
79 {
80 cout << e.what() << endl;
81 }
82}
83
84

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
whatMethod · 0.45

Tested by

no test coverage detected