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
2 answers

wcf and duplex communication

I have a lot of client programs and one service. This Client programs communicate with the server with http channel with WCF. The clients have dynamic IP. They are online 24h/day. I need the following: The server should notify all the clients in 3…
darpet
  • 3,073
  • 3
  • 33
  • 40
0
votes
2 answers

NullReference Exception is thrown while getting a callback channel

I am trying to get along with WCF's duplex contracts. A code from this article (http://msdn.microsoft.com/en-us/library/ms731184.aspx) ICalculatorDuplexCallback callback = null; callback = OperationContext.Current.GetCallbackChannel(); throws a…
Yaroslav
  • 1
  • 1
  • 2
0
votes
1 answer

How to connect 2 GSM Modems

I want to know how can i use 2 GSM Modems in one computer (using Windows) ? Those modem have a usb connector but the system plug them as Mobile Modem in COM Port. The probleme is how to use 2 Modems togeteher in different ports. The modem…
0
votes
1 answer

TCPDF, Duplex printing error - generated pages are inverted & mirrored

If I generate with TCPDF a two page pdf and print this together on one page (duplex) i will get an inverted result: PDF generated page 1 is on paper page 2 PDF generated page 2 is on paper page 1 At paper page 1 I have the ci sign/style from the…
Silvan
  • 156
  • 3
  • 13
0
votes
1 answer

Multiple WCF named pipe clients connecting without repeatedly invoking the endpoint's constructor?

I've got a WCF server/client setup using named pipes, and my client connects to the host process (already running) as follows: var pipeFactory = new DuplexChannelFactory(this, new NetNamedPipeBinding(), new EndpointAddress(new…
odkken
  • 329
  • 1
  • 9
0
votes
2 answers

WCF net.tcp over internet without changing firewall settings?

I have a Client and a Host application. The Client can send messages and gets callback messages back. I use this code to create the duplex channel on the client side: proxy = DuplexChannelFactory.CreateChannel(new InstanceContext(this),…
kdno_be
  • 31
  • 9
0
votes
1 answer

wcf callback reference

I have a desktop app with a duplex WCF service, but I have some troubles using the callback. The service is started as following in main of program.cs: ServiceHost svcHost = new…
0
votes
1 answer

Duplex WCF Client does not work with WinForms or WPF, but works fine with Console

I have a very peculiar case here. I have implemented a wsDualHttpBinding WCF duplex server that is being consumed by a Windows Service. The contract and implementation on the server side is defined as follows: [ServiceBehavior(InstanceContextMode =…
0
votes
1 answer

WCF callback contracts and server to server

I am developing a solution with multiple WCF services which all communicate among themselves, even though they are of different types. The services connect to one another through the ChannelFactory generic interface, and every service is hosted…
totem
  • 733
  • 3
  • 11
  • 24
0
votes
1 answer

Callback from WCF to Flash (AS3)

I have an client server software that uses WCF duplex channel to connect them. Most of the communication is done from the client to the server but i also have some callbacks from the server to the client. My problem begins with the fact that i need…
Shai
  • 41
  • 6
0
votes
1 answer

Can we use wcf WsDualHttpBinding(DUPLEX comm) for communicating between two different websites in asp.net

I want to make duplex communication(CHAT like application) between two different websites in asp.net. I have seen lot of demos of duplex communication with two windows application (nettcpbinding) binding. But I want to achieve this with two…
Rahul Ranjan
  • 1,028
  • 1
  • 10
  • 27
0
votes
1 answer

Print a document in MS Word on both sides of paper using delphi xe3

How can i print a Word document on both sides using code in Delphi xe 3? Below is how the word document is created: try { Open the document} WrdApp := CreateOLEObject('Word.Application'); wrdDoc := WrdApp.Documents.Open(document); //…
user3271392
  • 149
  • 2
  • 12
0
votes
3 answers

How do I throw notify a client of a fault on a callback channel?

I have a duplex channel that uses callbacks to provide updates as part of a subscription to some data (see below for interfaces). Occasionally that data is unavailable and when it is the server needs to shut down its subscription and let the client…
dlanod
  • 8,664
  • 8
  • 54
  • 96
0
votes
0 answers

Category based WCF service notifications

How to achieve category-based WCF notifications? I want to send notifications to clients who seeks for particular products category instead of notifying all. Is it possible if please share the algorithm or way to achieve please. Thanks in Advance,
Maddy
  • 164
  • 2
  • 13
0
votes
1 answer

WCF Duplex clients with different data from the service

I am trying to write a web service that communicates output from a process to all listening clients. Here is what seems to be the malfunctioning code. The application is supposed to start a process then listen to the output. There is also a case…
kschieck
  • 1,407
  • 2
  • 16
  • 29