removed debug printing
This commit is contained in:
parent
83403f24c0
commit
ce91ad47d7
@ -118,7 +118,6 @@ void heartbeat_thread( std::string server_pkey, //CLIENT
|
|||||||
std::string url = "tcp://*:" + std::to_string(heartbeat_port);
|
std::string url = "tcp://*:" + std::to_string(heartbeat_port);
|
||||||
heartbeat_sock.bind(url);
|
heartbeat_sock.bind(url);
|
||||||
while(true) {
|
while(true) {
|
||||||
std::cout << "HT" << std::endl;
|
|
||||||
//Start polling heartbeats once client connects
|
//Start polling heartbeats once client connects
|
||||||
if (connection_state == true) {
|
if (connection_state == true) {
|
||||||
zmq::pollitem_t response_item = { heartbeat_sock, 0, ZMQ_POLLIN, 0 };
|
zmq::pollitem_t response_item = { heartbeat_sock, 0, ZMQ_POLLIN, 0 };
|
||||||
@ -630,7 +629,6 @@ void server_thread( std::string server_skey,
|
|||||||
std::ofstream binaryOutputFile;// for writing
|
std::ofstream binaryOutputFile;// for writing
|
||||||
std::ifstream binaryInputFile;// for reading
|
std::ifstream binaryInputFile;// for reading
|
||||||
while (true) {
|
while (true) {
|
||||||
std::cout << "expect\n";
|
|
||||||
zmq::message_t msg_command;
|
zmq::message_t msg_command;
|
||||||
//ZIN<<<
|
//ZIN<<<
|
||||||
command_sock.recv(msg_command, zmq::recv_flags::none);
|
command_sock.recv(msg_command, zmq::recv_flags::none);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user