Questions tagged [duplex]

A duplex communication system is a point-to-point system composed of two connected parties or devices that can communicate with one another in both directions, simultaneously.

A duplex communication system is a point-to-point system composed of two connected parties or devices that can communicate with one another in both directions, simultaneously. An example of a duplex device is a telephone.

338 questions
0
votes
1 answer

Can't host the WCF service

I have WCF service with wsDualHttpBinding. How to host it in managed application? Uri baseAddress = new Uri("http://localhost:51160"); using (ServiceHost host = new ServiceHost(typeof(FileServer), baseAddress)) { host.Open(); …
user2051549
0
votes
1 answer

SvcUtil is not generating a class derived from DuplexClientBase despite the ServiceContract defining a CallbackContract

When I use SvcUtil.exe to generate a proxy of my service, I get a class derived from ClientBase even though I declare a CallbackContract. This is the service contract: [ServiceContract(CallbackContract = typeof(IMechClient))] interface…
Mike Beck
  • 35
  • 4
0
votes
0 answers

Duplex communication between client and service in azure

i've been trying for a couple days making a duplex communication with a service present on WebRole in Azure. I add a reference of service to my client (console aplication running locally) and when try to call methods on service it never works. If i…
mmarques
  • 625
  • 3
  • 9
  • 27
0
votes
3 answers

WCF duplex nettcp channel not faulting

Problem I have this strange problem. I am hosting a WCF server in a console app: Console.WriteLine("Press 'q' to quit."); var serviceHost = new ServiceHost(typeof(MessageService)); serviceHost.Open(); …
Rajat Mehta
  • 201
  • 3
  • 14
0
votes
1 answer

Detect if printer support duplex programmatically using obj-c

I have been stumped by this for the last few days. I need to detect if a printer support duplex printing. I have had partial success using code like: NSPrinter * printer = [NSPrinter printerWithName:pname]; [printInfo…
0
votes
1 answer

How to use duplex in netnamedpipe in wcf 4.0

Is there any way that we can use netnamedpipe binding with duplex ? I am getting the following error. Contract requires Duplex, but Binding 'NetNamedPipeBinding' doesn't support it or isn't configured properly to support it. ServiceHost host…
0
votes
0 answers

DuplexChannelFactory (Silverlight) working at Runtime but not at Designtime

I've the following code: var bind = new PollingDuplexHttpBinding(); bind.MaxReceivedMessageSize = 2147483647; EndpointAddress myEndpoint = new EndpointAddress(address); try { …
Jochen Kühner
  • 1,385
  • 2
  • 18
  • 43
0
votes
3 answers

Thread.Sleep in WCF and Silverlight

I'm designing a silverlight game and I'm stuck with the game end functions. It's a turn based card game and I'm using WCF Duplex. But when I call finalize function, callbacks are receiving OnEndGame message before the OnFinalized message. I need…
Kubi
  • 2,139
  • 6
  • 35
  • 62
0
votes
1 answer

Can a proxy to a duplex service be instanciated as one-way?

I have changed a former WCF one-way service to a duplex service so I can implement callbacks. My actual problem is since that change, every piece of code that instanciates the service proxy needs to be modified to pass an instance context as…
user1706953
0
votes
1 answer

WCF duplex scenario - notifying server of client errors

In a client server WCF duplex scenario, what is the recommended way to let the server know that an error occurred on the client side? Let's say that the server notifies one of the clients that it needs to perform a certain operation and an exception…
Adrian
  • 743
  • 9
  • 29
0
votes
1 answer

silverlight disconnect from wcf duplex after 10 connections

I have develop a silverlight chat application. In a single window load more than one chat windows at same time and every chat windo create a new connection to wcf duplex service. But after every 10 chat windows it disconnect from wcf and work stuck…
amrit
0
votes
2 answers

Should I use a lock to prevent a WCF deadlock in this situation?

I have a WCF duplex service with a 2 way method called GetList, plus a one way callback method ItemUpdated. I've detected a deadlock in the following situation: The service calls the ItemUpdated callback, which is handled in the client by the…
Mike
  • 753
  • 1
  • 7
  • 16
0
votes
2 answers

Why WCF doesn't automatically affect the To header on outgoing message with the ReplyTo of the incoming message?

I have a service which send a message with the ReplyTo header set to a return address. I thought that : OperationContext.Current.GetCallbackChannel().RespondHello("tomi"); will automatically invoke my client, but I receive this…
Nicolas Dorier
  • 7,383
  • 11
  • 58
  • 71
0
votes
2 answers

Hosting wcf duplex service in IIS

I'm able to host a "normal" basichttp service with IIS and access it over the local network. The problem is, that I'm trying to do a duplex service and host it in IIS. My Web.Config:
Manuel
  • 77
  • 1
  • 9
0
votes
1 answer

actionscript socket readBytes() <- java app write() write() write()

I,m a newbie in action script. I developing a flex application using socket for IO. The problem is I cant read bytes through action script socket from a various writes from the server side without writing something to the server (that reads my…
1 2 3
22
23