How to sent messages from multiple clients to a single serv.

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf How to sent messages from multiple clients to a single serv.

  • Creator
    Topic
  • #54339
    Samir Mahapatra
    Participant

      Hello ,

      I have a requirement to send messages from two process in to a single server.The data at the server will eventually have data from both the process.What kind of network configuration is required to achieve this.

      Regards,

      Samir  ðŸ™‚

    Viewing 0 reply threads
    • Author
      Replies
      • #81074
        Robert Kersemakers
        Participant

          Let’s assume you have 2 processes: P1 and P2. Let’s further assume that in P1, there is a thread T1 that is already sending messages to the ‘single’ server. Now, in P2 there is a thread T2 whose message you also want to go to this server.

          Easiest would be to create an extra inbound tcp/ip thread T3 in P1. Change T2 into an (outbound) tcp/ip thread which will send all its messages to T3 (server: localhost). Then have T3 route all its inbound messages towards T1 and you’re done.

          Hope this helps.

          Zuyderland Medisch Centrum; Heerlen/Sittard; The Netherlands

      Viewing 0 reply threads
      • The forum ‘Cloverleaf’ is closed to new topics and replies.