473,387 Members | 1,569 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Multiplexing

Hi guys,
how I can build an application that can accept the connection of more
users in the same tcp port?
tnx

Nov 19 '05 #1
1 4422
Multithreading.

Create a connection listner, create connection handler, spin handler in a
thread when ever there is a connection request. Better design will be with
pooling of connection handler.

This is all top of my head, I used to do something similer in my old days of
Java.

Following link gives the picture of what I am talking about.

http://www.codeguru.com/Csharp/.NET/...cle.php/c4611/


"Salvatore Di Fazio" <sa***************@gmail.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
Hi guys,
how I can build an application that can accept the connection of more
users in the same tcp port?
tnx

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: anonymous | last post by:
with X Y separate dual-bus super sub , maybe reverse by freq Y is super-bus X or Y maybe set to internal base ( default ) X@ X! Y@ Y! ( top of stack X@ y@ --> TOS ) >X >X >Y Y> intelligent...
0
by: Salvatore Di Fazio | last post by:
Hi guys, how I can build an application that can accept the connection of more users in the same tcp port? tnx
4
by: Salvatore Di Fazio | last post by:
Hi guys, I'm looking for a tutorial to make a client with a i/o multiplexing and non blocking socket. Anybody knows where is a tutorial? Tnx
9
by: Paul Rubin | last post by:
Does anyone have an implementation of a distributed queue? I.e. I have a long running computation f(x) and I'd like to be able to evaluate it (for different values of x) on a bunch of different...
23
by: Boltar | last post by:
Hi I'm writing a threading class using posix threads on unix with each thread being run by an object instance. One thing I'm not sure about is , if I do the following: myclass::~myclass() {...
3
by: zubin | last post by:
i want to take input at the screen and at the same time flash the output on to the terminal (coming from some other process)...how do i go about it? the interface should look something like...
6
by: Chetanhl | last post by:
Can some1 tell me whats wrong in my code or plz provide your own solution so that i can learn from it.I got this question in a text whos result shows 0.0% accuracy in this code althought getting same...
7
by: Brendon Costa | last post by:
Hi all, I have a small python project i am working on. Basically i always have two threads. A "Read" thread that sits in a loop reading a line at a time from some input (Usually stdin) and then...
20
by: gremlin | last post by:
http://www.cilk.com/multicore-blog/bid/6703/C-Inventor-Bjarne-Stroustrup-answers-the-Multicore-Proust-Questionnaire
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.