Re: [Openvpn-devel] multi threading support

2012-09-26 Thread ehsan enayati
Ok now I understand what is happening, thanks for your answers guys.   From: Gert Doering To: ehsan enayati Cc: Gert Doering ; "openvpn-devel@lists.sourceforge.net" Sent: Tuesday, September 25, 2012 11:27 AM Subject: Re: [Openvpn-devel] multi

Re: [Openvpn-devel] multi threading support

2012-09-25 Thread Gert Doering
Hi, On Tue, Sep 25, 2012 at 12:22:40AM -0700, ehsan enayati wrote: > I saw in the linux source code that it uses fork and pthread, i think that's > the way it handles multiple requests Neither. Fork() is used to, uh, fork other processes (for example to start scripts). pthread is not used at a

Re: [Openvpn-devel] multi threading support

2012-09-25 Thread ehsan enayati
PM Subject: Re: [Openvpn-devel] multi threading support Hi, On Mon, Sep 24, 2012 at 02:00:46AM -0700, ehsan enayati wrote: > Hi, i wanna know how does openvpn server handles multiple requests? > for example if there is an active connection with a client on 1194 > port and another requests from

Re: [Openvpn-devel] multi threading support

2012-09-24 Thread Sergey Matveychuk
24.09.2012 19:20, Gert Doering wrote: Hi, On Mon, Sep 24, 2012 at 02:56:50AM -0700, ehsan enayati wrote: thanks for your quick reply, I know that openvpn is single threaded but it supports multiple user connection simultaneously, I wanted to know how this is done although it just have one thr

Re: [Openvpn-devel] multi threading support

2012-09-24 Thread Gert Doering
Hi, On Mon, Sep 24, 2012 at 02:56:50AM -0700, ehsan enayati wrote: > thanks for your quick reply, I know that openvpn is single threaded but it > supports multiple user connection simultaneously, I wanted to know how this > is done although it just have one thread. "by sufficiently advanced mag

Re: [Openvpn-devel] multi threading support

2012-09-24 Thread ehsan enayati
envpn-devel@lists.sourceforge.net" Sent: Monday, September 24, 2012 12:48 PM Subject: Re: [Openvpn-devel] multi threading support Hi, On Mon, Sep 24, 2012 at 02:00:46AM -0700, ehsan enayati wrote: > Hi, i wanna know how does openvpn server handles multiple requests? > for example if th

Re: [Openvpn-devel] multi threading support

2012-09-24 Thread Gert Doering
Hi, On Mon, Sep 24, 2012 at 02:00:46AM -0700, ehsan enayati wrote: > Hi, i wanna know how does openvpn server handles multiple requests? > for example if there is an active connection with a client on 1194 > port and another requests from some other client comes in what will > happen? Is this task

[Openvpn-devel] multi threading support

2012-09-24 Thread ehsan enayati
Hi, i wanna know how does openvpn server handles multiple requests? for example if there is an active connection with a client on 1194 port and another requests from some other client comes in what will happen? Is this task managed in operating system or by openvpn itself? Thanks