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 provide faster browsing speed compared to HTTP/1.1?

I was reading reading an article on launching of HTTP/2. It was said that HTTP/2 is based on SPDY (speedy) protocol and it can provide faster browsing speed compared to HTTP/1.1 by using "header field compression" and "multiplexing". How does these…
Anonymous Platypus
  • 1,242
  • 4
  • 18
  • 47
2
votes
1 answer

how can I make private chat rooms with sockjs?

I am trying to make a chat system where only two users are able to talk to each other at a time ( much like facebook's chat ) I've tried multiplexing, using mongoDB's _id as the name so every channel is unique. The problem I'm facing is that I…
Eugene Choi
  • 113
  • 8
2
votes
1 answer

Multiplexing data transfer over multiple sockets and interfaces

I have a two machines that each have 12 network interfaces. Each interface is connected to the corresponding interface on the other machine via a point-to-point radio link (e.g machine1:intf0 -> machine2:intf0, machine1:intf1 -> machine2:intf1,…
aghoras
  • 167
  • 1
  • 8
2
votes
3 answers

Seven Segment Multiplexing on Basys2

this is my first post so I hope I'm doing this correctly. I'm trying to output a "4 3 2 1" on a four digit seven segment display on a BASYS2 board. I have checked to make sure that 0 enables the signal and that I have the ports mapped correctly. I…
BlueSolrac
  • 2,191
  • 2
  • 12
  • 9
2
votes
1 answer

Searching for C/C++ network library with multiplexing

I'm writing an application that has a number (hundreds) of concurrent network operations running in parallel between two instances. Since the average lifetime of a connection is quite short (at most seconds), I thought that the overhead of using…
lucas clemente
  • 6,255
  • 8
  • 41
  • 61
2
votes
1 answer

Different HTTP hosts through the same TCP connection

Should an HTTP server expect to receive requests with different Host fields on the same TCP connection? Though it is contrary to intuition, RFC 2616 seems not explicitly forbiding a client to multiplex requests to different hosts on the same…
Joó Ádám
  • 909
  • 1
  • 11
  • 22
2
votes
3 answers

PubNub best practice: How to manage private rooms?

I'm learning pubnub and I read their documentation but I just can't find how to manage a multi room chat box. By default, a channel can be listened by anyone. Subscribing to it and publishing on it is easy. What I want is to have a main public room…
Baylock
  • 1,246
  • 4
  • 25
  • 49
1
vote
2 answers

Multiplexing string of numbers in python for the parallel port

I'm trying to do something like this. The problem is that i can't build the loop that does that. Here is my code: import parallel import time p=parallel.Parallel() #object to use the parallel port print ("Enter a string of numbers: ") numStr =…
aerojun
  • 1,206
  • 3
  • 15
  • 28
1
vote
1 answer

GPRS and GPS on embedded Linux

I've got an embedded linux and a Telit gprs/gps module ("GM862-GPS" on USB-Port). My current project requires it to be connected via gprs for sending data, while continuously asking the module for the gps position. I'm connected to gprs with a…
1
vote
4 answers

Efficiency of multible boolean flags vs multiplexed integer (bits) in Java and MySQL

This is a design question involving both Java and MySQL. The client requires the addition of 14 boolean flags (T/F) to keep track of some new information in an existing class/table. I can add these flags to the existing table, or I could create a…
Huntrods
  • 2,561
  • 3
  • 22
  • 29
1
vote
1 answer

How can I use ssh multiplexing on windows?

I am using remote - ssh on vscode to access a remote caen server. On WSL, I can use ssh multiplexing with the following config file: Host * ControlMaster auto ControlPersist yes ControlPath ~/.ssh/socket-%C ServerAliveInterval 60 ServerAliveCountMax…
1
vote
1 answer

How do smart phones use AT commands and data connection(s)? gsm mux? multiple uarts?

I am involved in a project where we have some kind of IoT device. An nxp processor with an LTE modem on a PCB. The software running on it connects to the modem over a single uart interface. It will initialize the modem through AT commands, and…
bas
  • 13,550
  • 20
  • 69
  • 146
1
vote
2 answers

C API and getting raw socket

I'm writing app that needs to commuicate with mysql. Its a single threaded application that uses epoll linux system call for multiplexing clients, but the problem is that everything stalls whenever I'm doing (heavy) queries to database. So I thought…
Daniel
  • 4,272
  • 8
  • 35
  • 48
1
vote
1 answer

libcurl C++: retrieving HTTP response code when multiplexing

Goal: To only print the contents of a multiplexed response if a certain HTTP status code such as 200 is detected. This requires reading in the header and extracting the HTTP code whenever the callback function receives a response. Since responses…
p.luck
  • 646
  • 2
  • 9
  • 34
1
vote
1 answer

Simple multiplexing node.js stream - chunk concatenated issue

Im trying to implement a simple node.js stream multiplexer/demultiplexer. Currently while implementing the multiplexing mechanism i noticed that the output of the multiplexer gets concatenated into a single chunk. const { PassThrough, Transform } =…
Marc
  • 2,920
  • 3
  • 14
  • 30