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

Boost full duplex - only client to server works, messages from server to client

I have a boost asio project that I am at wits end with. I have defined a TCPConnect class which is inherited by both a TCPSession and a TCPClient class. The reason for this is because I would like both the server and client side of the connection…
bmahf
  • 965
  • 2
  • 11
  • 27
2
votes
1 answer

Ninject with WCF Duplex channel

I'm using ninject with wcf to inject parameters into service classes. I now need to do this for a duplex service, and I'm unsure how to proceed. At the moment, my client invokes the duplex service using a DuplexChannelFactory like this: …
Matt Roberts
  • 26,371
  • 31
  • 103
  • 180
2
votes
0 answers

How to know when half duplex serial line becomes free?

I have an actual RS-232 based serial port that I use with Linux to wirelessly communicate with a microcontroller. (I use wireless modules on both ends of the connection instead of a serial cable) There is one issue. The entire operation must be…
Mike -- No longer here
  • 2,064
  • 1
  • 15
  • 37
2
votes
2 answers

Single source pushing: how to send 5kb each 5 minutes to 50000 clients

I need to implement a client server architecture where the server sends the same message to many clients over the internet. I need to send a single message every 5 minutes about. The message won't excede 5KB. I need the solution to scale to a big…
JackNova
  • 3,911
  • 5
  • 31
  • 49
2
votes
1 answer

SPI interface 3-wire serial Si471X

I tried to find an answer to this question by searching SDIO which is related to my question based on Silicon Labs naming of data channels. However, I was flooded with topics related to the SDIO protocol for serial comms with an SD memory card - a…
2
votes
0 answers

Two side Printing issue in vb6

Hi guys i am developing a vb6 application to print an ID card for students. I need to print on both sides of the card. I write the code in the way as shown below Printer.Duplex = vbPRDPHorizontal "Printing front side…
Jithin
  • 19
  • 1
  • 4
2
votes
2 answers

WCF vs. WCF Duplex vs. Sockets

I posted about this before to a degree, but after a few days of reading I have a better understanding of WCF and would like to get a bit of feedback before I start working on it. I basically need to develop a server/client system. The "server"…
user470760
2
votes
1 answer

Detect disconnect in WCF

We're building a WCF server (.NET 4.5). It will only use net.pipe transport. When a client closes the PIPE connection, the server gets unhandled CommunicationException, and terminates. Q1. How do I handle the CommunicationException so the server…
DEVELOPER
  • 23
  • 2
2
votes
3 answers

Port 80 problems with WCF and possibly Skype

Found this which may explain some of my problems - MSDN Post I have written a wcf service hosted inside a console application. I then have a client that interacts with the service. The client and service work fine on my machine. When I move the…
user589195
  • 4,180
  • 13
  • 53
  • 81
2
votes
1 answer

WCF callback timeout and Visual Studio catastrophic failure

A kind of stupid error, but this happened when I wanted to call client by server-side-service (WCF Duplex): The message could not be transferred within the allotted wcf callback timeout of 00:01:00, There was no space available in the reliable…
Rev
  • 2,269
  • 8
  • 45
  • 75
2
votes
1 answer

Azure Service Fabric Duplex Connection

Is there any way to implement full-duplex connection between the client and Azure Service Fabric stateles service? (WCF is for Ideal case). I have read the documentation but there is nothing about bidirectional communication. Thanks.
Anubis
  • 2,484
  • 2
  • 22
  • 33
2
votes
1 answer

Is an Open Channel Needed for Duplex Communication?

Short Version: When I've created a Channel using ChannelFactory on a client which uses duplex communication, do I need to keep the channel open in order to receive the callback or can I call ChannelFactory.Close()? Long Version: I'm developing my…
laurencer
  • 1,680
  • 1
  • 19
  • 29
2
votes
1 answer

Can I use WebRTC as an alternative for WebSockets?

I was wondering if it was okay to use WebRTC as an alternative for WebSockets. From what I know (which is very little), WebRTC's RTCDataChannels are basically P2P connections which connect in Real Time. If I replace a peer with a server wouldn't I…
Some Dinosaur
  • 154
  • 1
  • 14
2
votes
1 answer

Node - how can i pipe to a new READABLE stream?

My app is supposed to take Web Audio streamed from the client, encode it as MP3, before sending it back out to clients via WebSocket. I can currently encode and pipe to a file like…
user3174541
  • 59
  • 2
  • 9
2
votes
2 answers

WCF Duplex - How to find Client's Callback URL?

How to find the Client's Callback URL for a duplex HTTP binding, from within the service (WCF 3.5)? Appreciate any help..
Bhuvan
  • 1,523
  • 4
  • 23
  • 49