Jump to content

sBsaidus

Members
  • Content Count

    4
  • Joined

  • Last visited

Posts posted by sBsaidus


  1. Hello.

    In the attached zip, a  very simple usage for IdTcpServer and IdTcpClient.

    What I want to do is notify all connected client to disconnect while closing Server application or juste send a 'QUIT' command to all of connected clients while stop listening.

    But I encounter many problems.

    Can someone tel me what's wrong with the code.

     

    Thank you.

     

     

    CS.zip

     


  2. Hello,

    I have two(2) simple applications, A Server ( use TidTCPServer) and Client (use TidTCPClient) and they works well.

    But when I close the server application, the client one do not indicate that it is disconnected, even the OnDisconnect Event not works.

    This test is done on the same machine ( client & server are in the same machine (VM))

    So, How can I see, or know that the server process does'nt exists or connection is lost in the client side.

    PS: I use Delphi 7 all updates made, indy 10.6.2.

     

    Thank you.

×