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
4
votes
1 answer

Understanding WCF IsOneWay, CalbackContracts and Duplex - Are my assumptions correct?

I have been reading and experimenting with WCF and trying to understand the workings in simple terms. So my questions are for verification and validation of what I believe to be correct but I need to be sure: In a typical Publish-Subscribe Duplex…
Stix
  • 485
  • 4
  • 13
4
votes
4 answers

WCF Duplex Service and TCP Port Exhaustion

I am trying to wrap my head around this. I am making a business specific messaging application, it is going to connect between 5000 and 10,000 machines back to our datacenter via WCF (no vpns, all over the net). It is mainly for alerts and I need…
Ryan M
  • 605
  • 1
  • 8
  • 17
4
votes
1 answer

how correctly unpipe nodejs stream

I try to figure out why .unpipe call is no-op if the stream has been piped after .pause: b.on('data', console.log.bind(console, "on b -> ")); c.on('data', console.log.bind(console, "on c ->…
ZigGreen
  • 168
  • 1
  • 9
4
votes
1 answer

How to solve NodeSchool's Duplexer challenge without the Duplexer package

Problem (downloadable from nodeschool.io/#stream-adventure) Write a program that exports a function that spawns a process from a cmd string and an args array and returns a single duplex stream joining together the stdin and stdout of the…
kol
  • 27,881
  • 12
  • 83
  • 120
4
votes
2 answers

Change WCF default timeout

I have here a WCF Duplex Service, the requierement is that the Callback to the client should have a timeout of 10 seconds, therefor my web.config file of the Service looks like this:
Hannes S
  • 71
  • 1
  • 1
  • 5
4
votes
2 answers

Is UDP (in Java or otherwise) full duplex by default?

I.e. am I able to read from and write to the same socket using two different threads, given that I'm doing all communication in the form of datagrams?
Sam
  • 95
  • 1
  • 9
4
votes
1 answer

Printing landscape documents with Java on duplex mode

I've a JasperReports report to be printed on landscape mode on a duplex printer. On this I've to support PCL5 and PCL6 printing drivers. Searching on the internet, I discovered the following code snippet to do this job: import…
vkrausser
  • 393
  • 1
  • 3
  • 17
4
votes
1 answer

Printing with advanced options (tray selection, duplex, staple)

We have a project of managing printing documents. At first I wonder why printing options couldn't be set up in single place. For example printer tray selection for first page and for other pages can be done using MS Word automation: var doc =…
Sasha
  • 8,537
  • 4
  • 49
  • 76
4
votes
1 answer

C# force print job to be Simplex (printer default is Duplex)

The Problem 1. Our customer has a networked printer that is configured to print in Duplex (this cannot be changed). 2. We must print A4 sheets of labels to this printer but it must not be in Duplex mode as the labels go round the rollers and foul…
Adam
  • 121
  • 1
  • 7
3
votes
1 answer

Duplex web service in Java

The client connects to a server and then can request it AND the server can invoke some commands on the clients as well. Is there anything like this in Java?
benji
  • 2,331
  • 6
  • 33
  • 62
3
votes
1 answer

WF4 calling WCF Service

I'm having a problem trying to get a workflow (WF4) to call a long running WCF service and then resume processing when the WCF service completes. The diagram below gives a rough outline of what I'm trying to achieve. If you could point me at any…
user321271
  • 53
  • 6
3
votes
2 answers

What are the implications of half-duplex serial connections?

What are the implications of using a half-duplex serial connection versus a full-duplex one? What happens if both sides try sending data at the same time? Do you end up with corrupt data arriving on both ends? Does flow-control help you with this?
Gili
  • 86,244
  • 97
  • 390
  • 689
3
votes
1 answer

VBA code for Front to Back Print from 2 different Excel Worksheets

I have 2 Excel sheets namely "For Print" and "Sheet 4". I want to automatically print the sheets front to back using VBA. This is my current code but it requires user action after printing the 1st page. Sub Rectangle4_Click() Dim PageFrom As…
Nica
  • 177
  • 4
  • 17
3
votes
0 answers

Exception while calling WCF method in Thread

i have an unsual issue and so far Google hasn't been any help at all. I have setup a DUPLEX client connection to a WCF Server using WSDualHttpBinding, this works fine. I then placed the client connection in a thread and now i receive this exception…
Dan Hall
  • 1,474
  • 2
  • 18
  • 43
3
votes
0 answers

WCF Client Certificate purpose?

We have some WCF duplex services using net/tcp that we use for events in some of the software we create. These services currently have a service certificate set, and a client certificate, that we build into our client library, and then we use…
user2688636
  • 141
  • 1
  • 7