Re: [fpc-pascal] Re: Is THostResolver creating a thread?

2013-05-08 Thread silvioprog
2013/5/8 Zaher Dirkey > Maybe it use the thread again, try many requests if there is more threads? > It keep only one thread. :) Sorry Michael, Zaher and friends. A friend tested it in Delphi on Window XP and it's same to Free Pascal. -- Silvio Clécio My public projects - github.com/silviopro

Re: [fpc-pascal] Re: Is THostResolver creating a thread?

2013-05-08 Thread Zaher Dirkey
Maybe it use the thread again, try many requests if there is more threads? On Wed, May 8, 2013 at 4:35 PM, silvioprog wrote: > 2013/5/8 Michael Van Canneyt > >> On Wed, 8 May 2013, silvioprog wrote: >> >>> Oops, >>> >>> 2013/5/8 silvioprog >>> [...] >>> uses >>> resolve, winsock; >>>

Re: [fpc-pascal] Re: Is THostResolver creating a thread?

2013-05-08 Thread silvioprog
2013/5/8 Michael Van Canneyt > On Wed, 8 May 2013, silvioprog wrote: > >> Oops, >> >> 2013/5/8 silvioprog >> [...] >> uses >> resolve, winsock; >> >> procedure TForm1.Button1Click(Sender: TObject); >> var >> FHostEntry: PHostEnt; >> begin >> FHostEntry := gethostbyname('www.google.co

Re: [fpc-pascal] Re: Is THostResolver creating a thread?

2013-05-08 Thread Michael Van Canneyt
On Wed, 8 May 2013, silvioprog wrote: Oops, 2013/5/8 silvioprog [...] uses   resolve, winsock; procedure TForm1.Button1Click(Sender: TObject); var   FHostEntry: PHostEnt; begin   FHostEntry := gethostbyname('www.google.com.br'); end; ... gethostbyname('www.google.com') ... The res

[fpc-pascal] Re: Is THostResolver creating a thread?

2013-05-07 Thread silvioprog
Oops, 2013/5/8 silvioprog > [...] > uses > resolve, winsock; > > procedure TForm1.Button1Click(Sender: TObject); > var > FHostEntry: PHostEnt; > begin > FHostEntry := gethostbyname('www.google.com.br'); > end; > ... gethostbyname('www.google.com') ... -- Silvio Clécio My public projects