Multiple clients

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • sandrofurlan

    #1

    Multiple clients

    Hallo everybody,
    one question:
    Is it possible to connect with multiple clients to a singleton WCF
    service?
    The problem is that when I connect to the service, only the last
    connected client receive callbacks.
    Can anybody help me?

    Thanks

  • =?Utf-8?B?QWxsZW4gU3QuQ2xhaXI=?=

    #2
    RE: Multiple clients

    As I see, the singleton mode service just creates one object for all service.
    If you need to response many clients, please use singlecall. For sharing data
    or saving status, please create an object yourself in server program.
    --
    I''m not a programmer...
    HP: http://secretnest.info


    "sandrofurl an" wrote:
    Hallo everybody,
    one question:
    Is it possible to connect with multiple clients to a singleton WCF
    service?
    The problem is that when I connect to the service, only the last
    connected client receive callbacks.
    Can anybody help me?
    >
    Thanks
    >
    >

    Comment

    • sandrofurlan

      #3
      Re: Multiple clients

      On 1 Ago, 04:20, Allen St.Clair
      <AllenStCl...@d iscussions.micr osoft.comwrote:
      As I see, the singleton mode service just creates one object for all service.
      If you need to response many clients, please use singlecall.
      For sharing data
      or saving status, please create an object yourself in server program.
      What do you mean?
      The problem is that my service open USB comm the first time that a
      client connects to and then I need to maintain the state because of
      receiving data from connected devices. Callbacks send back data to all
      connected clients. That's my architecture. How can I create in the
      server a static object for the communication?
      Thanks

      --
      I''m not a programmer...
      HP:http://secretnest.info
      >
      "sandrofurl an" wrote:
      Hallo everybody,
      one question:
      Is it possible to connect with multiple clients to a singleton WCF
      service?
      The problem is that when I connect to the service, only the last
      connected client receive callbacks.
      Can anybody help me?
      >
      Thanks

      Comment

      Working...