Thread View: borland.public.cppbuilder.internet.socket
1 messages
1 total messages
Started by Vladimir Stefanovic
Thu, 24 Nov 2005 18:10
Again: winsock2.h & fd_set
Author: Vladimir Stefanovic
Date: Thu, 24 Nov 2005 18:10
Date: Thu, 24 Nov 2005 18:10
25 lines
1549 bytes
1549 bytes
Hi, The problem is old (as I already find in the history or this group) and is about multiple declaration of 'fd_set' when you work with Indy9. Ok, I know that's because of ambigulity of winsock & winsock2, but how can I force my service application to compile. I already placed: #include <winsock2.h> ... at the very beginning of all includes, and that *solved* the problem. But is that all for all cases I can step into? I also saw that someone is adding the well known WIN32_LEAN_AND_MEAN. What is the ultimate solution for this multiple declaration? -- Best regards, Vladimir Stefanovic
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