Solved command to examine if server is running
hello people with which command can be examine if a
server already running in linux
What server ?
server from TCP/IP connection
the_ last edited by
Are there any services running on the server you want to connect to? Or do you only want to check if the server is still alive?
i have done TCP/IP connection between server and client in localhost.now i have cross compile the server in raspi2
with der localhost adress without a client ,in this case the server is started.But when i have changed a localhoast adress with a raspi2 adress in server code, i get this error :
Server has not started
QFile::open: File (file.log) already open
Are you starting your server twice on the same machine ?
yes on the same machine. i solved the trouble i only needed to add the argument QIODevice::ReadWrite to the connectToHost fonction