Re: [fpc-pascal] Indy 10 HTTP Server component with FPC

2011-10-24 Thread Graeme Geldenhuys
On 2011-10-24 13:23, Burkhard Carstens wrote: > > For TIdTCPServer I manually add the IPv4 binding like this: > IdTCPServer1.Bindings.add.IPVersion:=Id_IPv4; > IdTCPServer1.Active:=true; > > Without that, Activate fails on linux systems that have ipv6 enabled. Thanks Bulkhard! Finally I am maki

Re: [fpc-pascal] Indy 10 HTTP Server component with FPC

2011-10-24 Thread Burkhard Carstens
Am Sonntag, 23. Oktober 2011 00:04 schrieb Graeme Geldenhuys: > On 22/10/2011, Marco van de Voort wrote: > > I haven't tried for years, but I can remember some strange problems > > designtime that went away if you manually added a tidbinding in > > formcreate. > > I'm not using design-time usage a

Re: [fpc-pascal] Indy 10 HTTP Server component with FPC

2011-10-22 Thread Marco van de Voort
In our previous episode, Graeme Geldenhuys said: > > designtime that went away if you manually added a tidbinding in formcreate. > > I'm not using design-time usage at all, everything is done manually via code. > I'm creating a TIdHTTPServer instance via code, set the port, one > basic event handl

Re: [fpc-pascal] Indy 10 HTTP Server component with FPC

2011-10-22 Thread Graeme Geldenhuys
On 22/10/2011, Marco van de Voort wrote: > > I haven't tried for years, but I can remember some strange problems > designtime that went away if you manually added a tidbinding in formcreate. I'm not using design-time usage at all, everything is done manually via code. I'm creating a TIdHTTPServer

Re: [fpc-pascal] Indy 10 HTTP Server component with FPC

2011-10-22 Thread Marco van de Voort
In our previous episode, Graeme Geldenhuys said: > Is anybody here using the Indy 10 components with FPC? More > specifically, the HTTP Server component. My project compiles fine, but > when I activate the HTTP Server I get the following error. > > "Socket error # 98. Address already in use." > >

[fpc-pascal] Indy 10 HTTP Server component with FPC

2011-10-22 Thread Graeme Geldenhuys
Hi, Is anybody here using the Indy 10 components with FPC? More specifically, the HTTP Server component. My project compiles fine, but when I activate the HTTP Server I get the following error. "Socket error # 98. Address already in use." I know that under Linux, if you use a port < 1024 you mus