rename variable to something useful

This commit is contained in:
Jan Schreiber 2020-09-03 19:54:16 +02:00
parent 53a21f8e95
commit f4d21d3ef3

View file

@ -10,8 +10,8 @@ NetworkThread::NetworkThread(QObject *parent) :
void NetworkThread::connect() {
socket = new zmq::socket_t(context, zmq::socket_type::pair);
int linger = 0;
socket->set(zmq::sockopt::linger, linger);
int linger_time = 0;
socket->set(zmq::sockopt::linger, linger_time);
try {
socket->bind("tcp://127.0.0.1:12345");
} catch (zmq::error_t err) {