generated from AfonsoCMSousa/CPP-Template
fix: finnaly working!
This commit is contained in:
parent
8bc4312c9a
commit
bd32f95cd1
@ -24,7 +24,7 @@ int main(int argc, char *argv[]) {
|
||||
sock.connect_unix(app.app_api_socket_path.c_str(), app.app_port_out);
|
||||
// Connect socket to Server
|
||||
sock.connect_server(app.app_server_out_ip.c_str(), app.app_port_out);
|
||||
sock.bind_server("0.0.0.0", app.app_port_in);
|
||||
sock.bind_server("127.0.0.1", app.app_port_in);
|
||||
|
||||
// Right after connecting, send update rate request
|
||||
char request[516] = {0};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user