R
R
Ruslan Bagautdinov2014-02-17 17:15:36
Qt
Ruslan Bagautdinov, 2014-02-17 17:15:36

Why does the daemon in Ubuntu not stop on qtservice?

A service was written on qt 5.2.1 to work with equipment using qtservice. Under Windows it works flawlessly, everything starts / stops through services as expected. The daemon in Ubuntu 12.04 LTS starts up and runs fine without problems, but when it comes to stopping it, it absolutely does not want to. Hangs on waiting for a response from the socket that qtservice creates to talk to the daemon after sending the terminate command.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ruslan Bagautdinov, 2014-04-15
@DSRussell

In file
the function prototype and function declaration incomingConnection to:
void incomingConnection( qintptr socketDescriptor);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question