Jump to content

Max_name123

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by Max_name123

  1.  

    12 hours ago, aristeo said:

    Use websockets . I use thia component https://www.esegece.com/ for sending messages from server to clients

    I downloaded and installed components, added folders to tools-options-library, threw on the form
    sgcWebSocketClient1: TsgcWebSocketClient;
    sgcWebSocketServer1: TsgcWebSocketServer;
    and errors fell in, the uses compiler swears at: sgcWebSocket_Classes,
    sgcWebSocket_Classes_Indy,
    sgcWebSocket_Server,
    sgcWebSocket,
    sgcWebSocket_Client;
    What to do mind I will not put!
    And another question, is it possible to poll data on a server, for example, in a timer?

    P.S.

    By the way, I cannot understand why UniGui does not have built-in methods for sending data between the server and sessions ((

  2. If you send a message from the server to the session or from session to session in simple ways - a problem, can it be to interrogate, for example, conditionally, a string variable through a timer in the session and receive data? Then the question arises, how often can you poll the server variable, will the hosting stand if there are many requests?
×
×
  • Create New...