Questions tagged [multiplexing]

In telecommunications and computer networks, multiplexing (also known as muxing) is a method by which multiple analogue message signals or digital data streams are combined into one signal over a shared medium.

In telecommunications and computer networks, multiplexing (also known as muxing) is a method by which multiple analogue message signals or digital data streams are combined into one signal over a shared medium.

The aim is to share an expensive resource. For example, in telecommunications, several telephone calls may be carried using one wire. Multiplexing originated in telegraphy in the 1870s, and is now widely applied in communications.

In telephony, George Owen Squier is credited with the development of telephone carrier multiplexing in 1910.

243 questions
2
votes
2 answers

How does HTTP/2.0 multiplexing work with TCP?

I'm not an expert network engineer so I hope my question does not seem vague or naïve. Multiplexing in HTTP/2.0 seems to utilise a single TCP connection for multiple/different requests concurrently so that we avoid head-of-line blocking problem. I…
stdout
  • 2,471
  • 2
  • 31
  • 40
2
votes
4 answers

C: select() - Signal interrupt

I'm writing a multithreaded server program in C that works with AF_UNIX sockets. The basic structure of the server is: Main thread initialize data structures and spears a pool of "worker" threads. Worker threads start waiting for new requests on an…
2
votes
0 answers

Multithreading and socket multiplexing (pool)

I'm writing a server program in C for academic purpose. The server lunch a fixed number of worker thread during initialization then the threads start waiting on a "request list". After that the server starts an infinite cycle where it must do these…
2
votes
3 answers

C# Socket BeginAccept vs Select?

I am learning Socket Programming to make a chat room. I know that I could use async socket such as listenFd.BeginAccept(AcceptCallback, listenFd); Also I could use Socket.Select(checkRead,null,null,1000); I know the basic meaning of what async…
AlexWei
  • 1,093
  • 2
  • 8
  • 32
2
votes
4 answers

Java NIO, to use or not to use a framework?

I'm developing a Java Based server, with NIO multiplex and I started to see a lot of frameworks... I don't understand if these frameworks makes the life easier only or has also an increment of performance ( for example netty )
NewAge
  • 21
  • 1
  • 2
2
votes
0 answers

VHDL multiplexing seven segment display

I am trying to implement a half adder. I am using a multiplexer to drive two digits on a seven segment display on a board with a 32 MHz clock. I want each digit (connected to active-low anodes 0 and 1) to be on for 1 ms. I am using a counter to try…
alc95
  • 39
  • 2
2
votes
1 answer

How do I do multiplexing on OkHttp?

I see some older questions about using SPDY (though the code has changed significantly since then), but no insights into how to properly leverage multiplexing and/or pipelining in OkHttp. I've gone through all the examples and have yet to see…
darkfrog
  • 1,053
  • 8
  • 29
2
votes
1 answer

How to multiplex channel output in go

I'm looking for a solution to multiplex some channel output in go. I have a source of data which is a read from an io.Reader that I send to a single channel. On the other side I have a websocket request handler that reads from the channel. Now it…
Tarion
  • 16,283
  • 13
  • 71
  • 107
2
votes
0 answers

Perform ~500 queries from PHP using all the modern features of HTTP/2

I develop some middleware (actually scraping tool) and need send ~500 POST requests to one server for receiving answers. Server supports HTTP/2. I'm using PHP 7.1 with libcurl/7.53.1, i.e. all versions are suitable. How to fastly perform ~500…
J. Doe
  • 121
  • 1
  • 5
2
votes
1 answer

DTS and PTS are different, despite not having B-frames (ffmpeg)

Just a quick question in regards to video encoding/muxing a video file with ffmpeg. Basically, I have my muxer functioning and I'm trying to have my packets output the correct PTS/DTS. This is a portion of my code that encodes my AVFrame, muxing it…
Damian
  • 159
  • 15
2
votes
1 answer

Reusing the same socket connection for multiple requests

This question may be slightly off topic but I didn't know where else to ask. I was reading this https://github.com/msgpack-rpc/msgpack-rpc/blob/master/spec.md and saw that the specification included being able to send out of order messages using…
Curious
  • 20,870
  • 8
  • 61
  • 146
2
votes
1 answer

Can't run tmux in Arch Linux VM

So I have installed tmux in Arch 2016.06.01. I am connected via SSH. When trying to run the program, I get this response: tmux: invalid LC_ALL, LC,TYPE or LANG Other programs open fine on this VM. Thanks!
Sam Smith
  • 101
  • 7
2
votes
1 answer

RFID Chess: One reader + many antennae

I'd like to read a playfield of RFID token equipped chess pieces. For cost and simplicity, I'd like to use ONE reader and many antennae. I'm planning to purchase the following: ArduinoMega; large enough to just let me program and debug…
2
votes
1 answer

Consider the 4-to-1 multiplexer shown below. What values must inputs A, B, C, D be so that the multiplexer implements the function

I am completing some practice quizzes online in preperation for a uni exam next week, and I am a bit stumped as to how to solve this problem: Consider the 4-to-1 multiplexer shown below. What values must inputs A, B, C, D be so that the…
Fishingfon
  • 1,034
  • 3
  • 19
  • 33
2
votes
1 answer

Flume Multiplexing not working

I have configured my flume agent like below. Somehow, the flume agent doesn't run properly. It keeps hanging without any errors. Is there any problem with the below configuration. FYI: I have a file named "country" with hard-coded header as…