generated from AfonsoCMSousa/CPP-Template
fix: finnaly working!
This commit is contained in:
parent
6e4ed57e8a
commit
7a648f8b21
@ -30,11 +30,11 @@ int main(int argc, char *argv[]) {
|
|||||||
request[1] = 120;
|
request[1] = 120;
|
||||||
|
|
||||||
sock.send_server(request, sizeof(request));
|
sock.send_server(request, sizeof(request));
|
||||||
cout << "[+] Connected to server!\n\tInfo: " << endl;
|
cout << "[+] Connected to server!\n[!] Info: " << endl;
|
||||||
cout << "\t- API Socket Path: " << app.app_api_socket_path << endl;
|
cout << " > API Socket Path: " << app.app_api_socket_path << endl;
|
||||||
cout << "\t- Server Out IP: " << app.app_server_out_ip << endl;
|
cout << " > Server Out IP: " << app.app_server_out_ip << endl;
|
||||||
cout << "\t- App Port In: " << app.app_port_in << endl;
|
cout << " > App Port In: " << app.app_port_in << endl;
|
||||||
cout << "\t- App Port Out: " << app.app_port_out << endl;
|
cout << " > App Port Out: " << app.app_port_out << endl;
|
||||||
|
|
||||||
} catch (const runtime_error &e) {
|
} catch (const runtime_error &e) {
|
||||||
cerr << "Error: " << e.what() << endl;
|
cerr << "Error: " << e.what() << endl;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user