Re: [fpc-devel] fcl-web: A proper way to set SO_REUSEADDR socket option in THTTPApplication

2011-10-14 Thread Vladimir Zhirov
Thanks Michael and Andrew. Michael Van Canneyt wrote: > I plan a set of socket options in TSocketServer; > I have the same problem as you, I just need a free moment to > implement it :-) Great, then I'll wait for your implementation. I've done some changes in my local copy to get things working

[fpc-devel] fcl-web: A proper way to set SO_REUSEADDR socket option in THTTPApplication

2011-10-14 Thread Vladimir Zhirov
Hi, Currently, if THTTPApplication-based program on Linux was stopped manually during active connection I cannot start it again for 1-2 minutes, getting the exception like this: > exception at 0805304A: > Binding of socket failed: 8080. According to http://stackoverflow.com/questions/3229860/what

Re[2]: [fpc-devel] Locale solution for Linux (and maybe *nix)

2008-08-04 Thread Vladimir Zhirov
Michael Van Canneyt wrote: > I have checked altlinux.ru, and it is rpm-based. The glibc-i18ndata is > definitely > in the package list, probably you simply don't have it installed. I > downloaded the > package file and it has the same files as on SuSE. > > You can check with the file > rpm -q gl

Re: [fpc-devel] Locale solution for Linux (and maybe *nix)

2008-08-04 Thread Vladimir Zhirov
Graeme Geldenhuys wrote: > Today I found the following on my Linux system which could possibly > solve this issues. Could other Linux distros and Unix users (*BSD, > etc) confirm if they also have the following directory? > > Under Ubuntu 7.10 I have the follow directory: /usr/share/i18n/locales/

Re: [fpc-devel] High performance Linux timer

2008-05-19 Thread Vladimir Zhirov
Hi, Graeme Geldenhuys wrote: > Does anybody know if there is a Linux (or generic Unix) high > performance timer API available. Something like the Win32 API > QueryPerformanceCounter()? Graeme, maybe this link will help: http://www.gamedev.net/community/forums/topic.asp?topic_id=127700 There are