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

Function create_connection

dlib/sockets/sockets_kernel_2.cpp:910–926  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

908// ----------------------------------------------------------------------------------------
909
910 int create_connection (
911 std::unique_ptr<connection>& new_connection,
912 unsigned short foreign_port,
913 const std::string& foreign_ip,
914 unsigned short local_port,
915 const std::string& local_ip
916 )
917 {
918 new_connection.reset();
919 connection* temp;
920 int status = create_connection(temp,foreign_port, foreign_ip, local_port, local_ip);
921
922 if (status == 0)
923 new_connection.reset(temp);
924
925 return status;
926 }
927
928 int
929 create_connection (

Callers 4

connectFunction · 0.70
connect_threadMethod · 0.50
sockstreambuf_testFunction · 0.50
thread_procMethod · 0.50

Calls 6

close_socketFunction · 0.85
bindClass · 0.85
connectFunction · 0.85
sockets_startupFunction · 0.70
resetMethod · 0.45
emptyMethod · 0.45

Tested by 2

sockstreambuf_testFunction · 0.40
thread_procMethod · 0.40