...
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
// #include "../common/adc_utils.h"
|
||||
// #include "../net/adc_netmessage.h"
|
||||
|
||||
#include "../net/adc_endpoint.h"
|
||||
#include "../net/adc_netmsg.h"
|
||||
|
||||
using namespace adc;
|
||||
@@ -66,6 +67,19 @@ TEST_CASE("[ADC NET MESSAGE]")
|
||||
std::cout << "[" << el << "]";
|
||||
}
|
||||
std::cout << "\n";
|
||||
|
||||
|
||||
std::cout << "\n\n\n";
|
||||
|
||||
AdcEndpoint ept(AdcEndpoint::PROTO_ID_LOCAL, "SOCK");
|
||||
|
||||
std::cout << "EPT: [" << ept.endpoint() << "]\n";
|
||||
std::cout << "EPT SZ: " << ept.endpoint().size() << "\n";
|
||||
|
||||
char ee[] = "tls://dewlkj.dwed.dwed:8012/dwelk";
|
||||
ept.setEndpoint(ee);
|
||||
|
||||
std::cout << "EPT: [" << ept.endpoint() << "]\n";
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user