[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-devel] Windows and Shaper


  • Subject: Re: [Openvpn-devel] Windows and Shaper
  • From: "James Yonan" <jim@xxxxxxxxx>
  • Date: Wed, 28 Apr 2004 20:31:02 -0000

Derek,

Thanks for the function, I like it better than the previous function which was
using timeGetTime (and therefore has wraparound problems).

I've merged it in test26 which should be released soon.

James

Derek Burdick <derek@xxxxxxxxxx> said:

> Here is the function.  Don't forget to #DEFINE HAVE_GETTIMEOFDAY in
> config-win32.h.  Let me know what you think.

> Derek Burdick
> ----- Original Message ----- 
> From: "James Yonan" <jim@xxxxxxxxx>
> To: "Derek Burdick" <derek@xxxxxxxxxx>;
> <openvpn-devel@xxxxxxxxxxxxxxxxxxxxx>
> Sent: Tuesday, April 27, 2004 12:48 PM
> Subject: Re: [Openvpn-devel] Windows and Shaper
> 
> 
> > Derek Burdick <derek@xxxxxxxxxx> said:
> >
> > >     I was browsing the online CVS repository and noticed the
> > > config-win32.h.in says that HAVE_GETTIMEOFDAY is specified in misc.c.
> When
> > > I look in misc.c, I don't see the file.  Is the latest version just not
> > > checked in?  I also implemented a gettimeofday for windows.  It is based
> on
> > > QueryPerformanceCounter. If you are interested in this version let me
> know.
> > > If somebody knows the correct status of gettimeofday for the cvs code, I
> > > would appreciate an update.
> >
> > Derek,
> >
> > Yes, I'd like to see your gettimeofday for Windows that uses
> > QueryPerformanceCounter.  OpenVPN 2.0 will have a gettimeofday function
> for
> > Windows so that --shaper and --mode server can be supported.
> >
> > James
> >
> >
> 



-- 




____________________________________________
Openvpn-devel mailing list
Openvpn-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-devel