rename variable to something useful
This commit is contained in:
parent
53a21f8e95
commit
f4d21d3ef3
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue