Click to See Complete Forum and Search --> : tcpc.h and fdbuf.h syntax errors


Ico_O
July 20th, 2005, 05:24 AM
Hi. I'm new on C++ but i've been reading tutorials and covered the basics. My question is about the library(header) file tcpc.h. I found its source at
http://gift.sourceforge.net/docs/0.11.x/libgift/tcpc_8h-source.html
but when i compiled it - it gave an error. Then i looked into it and noticed that a certain header file - fdbuf.h is missing. Again i went to that site and compiled the fdbuf.h using the source given. And when i finally started my application that needed the tcpc.h header it gava about 31 errors all in the 2 header files - tcpc.h and fdbuf.h.
And finally my question is: Is there any way I can fix it or compile some other source of the same headers, because I really want to make a chat program...well I kinda aim high no?

Thanks it advance.

stober
July 20th, 2005, 06:27 AM
those are typically *nix files for *nix compilers. What compiler and os are you using?

Ico_O
July 20th, 2005, 07:07 AM
I'm using Bloodshed Dev C++ compiler and i work on WindowsXP Pro.

stober
July 20th, 2005, 08:42 AM
MS-Windows os uses winsock.h

Ico_O
July 20th, 2005, 09:06 AM
So it gives errors when I use tcpc.h under Windows?
And one more thing - I'll be glad if you boost me a little - just show me how to establish tcp(or whatever) connection between the two chat parts.

stober
July 20th, 2005, 11:02 AM
there are millions of examples already out there, you just have to learn to do the research.