Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.networking > #2586

Re: linux multi-port server design in c/c++

From Chris Davies <chris-usenet@roaima.co.uk>
Newsgroups comp.os.linux.networking
Subject Re: linux multi-port server design in c/c++
Date 2013-11-26 17:03 +0000
Organization Roaima. Harrogate, North Yorkshire, UK
Message-ID <ur0fmaxvnh.ln2@news.roaima.co.uk> (permalink)
References <67be569e-0fcb-4df0-be04-1466259f0e14@googlegroups.com>

Show all headers | View raw


noloader@gmail.com wrote:
> Is anyone aware of a discussion or treatment of a multi-port threaded
> server on modern Linux boxes written in c/c++? Multi-port would mean,
> for example, ports 80 and 443.

Google offers many seemingly-relevant results for a search of
"multithreaded socket select".


> (1) multiple processes servicing a single port and thread the accept()
> (2) single process with multiple threads for each port and thread the accept()
> (3) the most efficient way to wait and handle connections
> (4) how to safely shutdown a multi-port, multi-threaded server

There may well be discussions on these if you throw the keyword "apache"
in to the mix.

Chris

Back to comp.os.linux.networking | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

linux multi-port server design in c/c++ noloader@gmail.com - 2013-11-25 22:39 -0800
  Re: linux multi-port server design in c/c++ David Brown <david@westcontrol.removethisbit.com> - 2013-11-26 09:48 +0100
    Re: linux multi-port server design in c/c++ noloader@gmail.com - 2013-11-26 09:47 -0800
      Re: linux multi-port server design in c/c++ David Brown <david@westcontrol.removethisbit.com> - 2013-11-27 10:56 +0100
        Re: linux multi-port server design in c/c++ Aragorn <stryder@telenet.be.invalid> - 2013-11-27 12:14 +0100
          Re: linux multi-port server design in c/c++ David Brown <david@westcontrol.removethisbit.com> - 2013-11-27 13:58 +0100
    Re: linux multi-port server design in c/c++ Jorgen Grahn <grahn+nntp@snipabacken.se> - 2013-12-08 01:04 +0000
  Re: linux multi-port server design in c/c++ Chris Davies <chris-usenet@roaima.co.uk> - 2013-11-26 17:03 +0000
    Re: linux multi-port server design in c/c++ noloader@gmail.com - 2013-11-26 09:33 -0800
  Re: linux multi-port server design in c/c++ Jorgen Grahn <grahn+nntp@snipabacken.se> - 2013-12-08 01:25 +0000
  Re: linux multi-port server design in c/c++ Dave <noone$$@llondel.org> - 2013-12-08 15:12 -0800

csiph-web