Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. synchronization of options

synchronization of options

Scheduled Pinned Locked Moved .NET (Core and Framework)
regexquestionworkspace
3 Posts 2 Posters 0 Views 1 Watching
  • 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.
  • D Offline
    D Offline
    drweb86
    wrote on last edited by
    #1

    Hi, guys Do you know any managed pattern for syncropnization of options betwean 2 applications? I have a Configuration tool and tray application. Both run under the same limited user account, and when user modified settings in Configurator i need tray application to be updated without restarting it. Target framework is 2.0 I searched in internet and found only Remoting, but it depends on a port number, so there might be a situation when other app already uses this port Are there any gracefull decisiongs? I will be glad if you give me some links, code portions... Thank's in advance Siarhei

    M 1 Reply Last reply
    0
    • D drweb86

      Hi, guys Do you know any managed pattern for syncropnization of options betwean 2 applications? I have a Configuration tool and tray application. Both run under the same limited user account, and when user modified settings in Configurator i need tray application to be updated without restarting it. Target framework is 2.0 I searched in internet and found only Remoting, but it depends on a port number, so there might be a situation when other app already uses this port Are there any gracefull decisiongs? I will be glad if you give me some links, code portions... Thank's in advance Siarhei

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      Cuchuk Sergey wrote:

      I searched in internet and found only Remoting, but it depends on a port number

      If the processes are on the same machine, a port doesn't matter. For a TcpChannel the port can be 0, and an unused port will be used. An IpcChannel will perform better and requires no port number. .NET Remoting Overview[^] Mark

      Mark Salsbery Microsoft MVP - Visual C++ :java:

      D 1 Reply Last reply
      0
      • M Mark Salsbery

        Cuchuk Sergey wrote:

        I searched in internet and found only Remoting, but it depends on a port number

        If the processes are on the same machine, a port doesn't matter. For a TcpChannel the port can be 0, and an unused port will be used. An IpcChannel will perform better and requires no port number. .NET Remoting Overview[^] Mark

        Mark Salsbery Microsoft MVP - Visual C++ :java:

        D Offline
        D Offline
        drweb86
        wrote on last edited by
        #3

        Thank's Mark! you really helped me very much, i've got very nervous - now i'm refactoring my opensource app and making it cross-platform, so your answer is really was very helpfull for me Thank's Siarhei

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups