Click here to Skip to main content
15,922,696 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: memory leak when using fstream,seek for help Pin
white jungle3-Aug-05 0:01
white jungle3-Aug-05 0:01 
GeneralRe: memory leak when using fstream,seek for help Pin
Blake Miller3-Aug-05 10:46
Blake Miller3-Aug-05 10:46 
GeneralRe: memory leak when using fstream,seek for help Pin
white jungle3-Aug-05 15:52
white jungle3-Aug-05 15:52 
GeneralSQLPrepare Error Pin
mihirvc2-Aug-05 23:27
mihirvc2-Aug-05 23:27 
GeneralRe: SQLPrepare Error Pin
Marc Soleda2-Aug-05 23:33
Marc Soleda2-Aug-05 23:33 
GeneralRe: SQLPrepare Error Pin
mihirvc2-Aug-05 23:39
mihirvc2-Aug-05 23:39 
GeneralMS DataGrid Control Pin
Fabio Panzavolta2-Aug-05 22:25
Fabio Panzavolta2-Aug-05 22:25 
Questionwhat is a multiplexing server? Pin
ThinkingPrometheus2-Aug-05 22:17
ThinkingPrometheus2-Aug-05 22:17 
hiho

i read a book about linux networking and it describes some techniques for a server

but my question is more about software architecture than linux programming
so i post it here

1. multiplexing (select())
2. multiprocess (fork())
3. multithreaded (pthread's)

i understand the architecture of a process pool in which every process holds a thread pool where every thread calls accept on a socket to get the connection
the kernel then makes the decision which thread gets the connection

and that's why i don't understand multiplexing
because i think multiplexing does exactly the same
you use select to wait for a connection (or a descriptor to change its state) and then make accept

but if this can the kernel do for you
what is a multiprocessed, multithreaded multiplexing server good for?
or what exactly is a multiplexing server compared with a multiprocesses/multithreaded server?

thx@ll
AnswerRe: what is a multiplexing server? Pin
Alexander M.,3-Aug-05 4:00
Alexander M.,3-Aug-05 4:00 
GeneralRe: what is a multiplexing server? Pin
ThinkingPrometheus9-Aug-05 21:08
ThinkingPrometheus9-Aug-05 21:08 
GeneralEdit Box Intresting Pin
Halawlaws2-Aug-05 21:48
Halawlaws2-Aug-05 21:48 
GeneralRe: Edit Box Intresting Pin
toxcct2-Aug-05 22:25
toxcct2-Aug-05 22:25 
GeneralRe: Edit Box Intresting Pin
Eytukan2-Aug-05 23:24
Eytukan2-Aug-05 23:24 
GeneralRe: Edit Box Intresting Pin
Halawlaws2-Aug-05 23:28
Halawlaws2-Aug-05 23:28 
GeneralRe: Edit Box Intresting Pin
Marc Soleda2-Aug-05 23:30
Marc Soleda2-Aug-05 23:30 
GeneralFTP Pin
Aditya Rao2-Aug-05 20:59
Aditya Rao2-Aug-05 20:59 
GeneralRe: FTP Pin
Jörgen Sigvardsson2-Aug-05 21:28
Jörgen Sigvardsson2-Aug-05 21:28 
GeneralLIBCD.lib(crt0.obj):error LNK2001:unresolved external sybol _main Pin
momer2-Aug-05 20:47
momer2-Aug-05 20:47 
GeneralRe: LIBCD.lib(crt0.obj):error LNK2001:unresolved external sybol _main Pin
toxcct2-Aug-05 22:36
toxcct2-Aug-05 22:36 
GeneralRe: LIBCD.lib(crt0.obj):error LNK2001:unresolved external sybol _main Pin
momer3-Aug-05 15:20
momer3-Aug-05 15:20 
GeneralSpilit the Status Bar in a Horizontal Pin
ditty grail2-Aug-05 20:26
ditty grail2-Aug-05 20:26 
QuestionWhat create static\dynamic library and use them? Pin
guguqiaqia2-Aug-05 20:12
guguqiaqia2-Aug-05 20:12 
AnswerRe: What create static\dynamic library and use them? Pin
toxcct2-Aug-05 22:23
toxcct2-Aug-05 22:23 
AnswerRe: What create static\dynamic library and use them? Pin
Marc Soleda2-Aug-05 23:16
Marc Soleda2-Aug-05 23:16 
GeneralTCP Programming Pin
Member 21610042-Aug-05 20:11
Member 21610042-Aug-05 20:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.