Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Solved command to examine if server is running

    QtonPi
    3
    7
    1174
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      carter_james last edited by carter_james

      hello people with which command can be examine if a
      server already running in linux

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        What server ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • C
          carter_james last edited by

          server from TCP/IP connection

          the_ 1 Reply Last reply Reply Quote 0
          • the_
            the_ @carter_james last edited by

            @carter_james
            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?

            -- No support in PM --

            1 Reply Last reply Reply Quote 0
            • C
              carter_james last edited by

              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

              1 Reply Last reply Reply Quote 0
              • SGaist
                SGaist Lifetime Qt Champion last edited by

                Are you starting your server twice on the same machine ?

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply Reply Quote 0
                • C
                  carter_james last edited by

                  yes on the same machine. i solved the trouble i only needed to add the argument QIODevice::ReadWrite to the connectToHost fonction
                  thanks

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post