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

Function main

examples/sockets_ex.cpp:44–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42
43
44int main()
45{
46 try
47 {
48 serv our_server;
49
50 // set up the server object we have made
51 our_server.set_listening_port(1234);
52 // Tell the server to begin accepting connections.
53 our_server.start_async();
54
55 cout << "Press enter to end this program" << endl;
56 cin.get();
57 }
58 catch (exception& e)
59 {
60 cout << e.what() << endl;
61 }
62}
63

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
whatMethod · 0.45

Tested by

no test coverage detected