🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.socket
2 messages
2 total messages Started by Drew Mon, 05 Jul 2004 21:38
TIdTCPClient in Web Server application
#5678
Author: Drew
Date: Mon, 05 Jul 2004 21:38
13 lines
1244 bytes
Hi,

I've just added a TIdTCPClient component to an existing and working CGI Web
Server application.  I now get lots of compiler errors for multiple
declarations of fd_set, timeval etc - i.e. everything that's defined in
winsock.h and winsock2.h.

Is it valid to have this type of component within a Web Server application,
and if so, any ideas what I'm doing wrong?

Thanks

Drew
Re: TIdTCPClient in Web Server application
#5691
Author: Drew
Date: Tue, 06 Jul 2004 21:02
31 lines
1839 bytes
Thanks very much - the 'WIN32_MEAN_AND_LEAN' sorted it

"Omar Zelaya" <ozelaya@invdochat.com> wrote in message
news:40ea180b$1@newsgroups.borland.com...
> try adding the define WIN32_LEAN_AND_MEAN on your project defines
>  or try moving and the indy includes before alll other includes, just
after
> de "vcl.h" include.
>
>
> "Drew" <aemsley@brightwell.org.uk> wrote in message
> news:40e9ca15@newsgroups.borland.com...
> > Hi,
> >
> > I've just added a TIdTCPClient component to an existing and working CGI
> Web
> > Server application.  I now get lots of compiler errors for multiple
> > declarations of fd_set, timeval etc - i.e. everything that's defined in
> > winsock.h and winsock2.h.
> >
> > Is it valid to have this type of component within a Web Server
> application,
> > and if so, any ideas what I'm doing wrong?
> >
> > Thanks
> >
> > Drew
> >
> >
>
>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads