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

Method get_connection

dlib/test/sockets2.cpp:49–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 bool test_failed;
48
49 connection *get_connection(
50 )
51 {
52 if (test_unix) {
53 return connect(socket_name);
54 } else {
55 return connect("127.0.0.1", port_num);
56 }
57 }
58
59 void write_thread (
60 )

Callers

nothing calls this directly

Calls 1

connectFunction · 0.85

Tested by

no test coverage detected