tcpc.h and fdbuf.h syntax errors
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.1...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.
Re: tcpc.h and fdbuf.h syntax errors
those are typically *nix files for *nix compilers. What compiler and os are you using?
Re: tcpc.h and fdbuf.h syntax errors
I'm using Bloodshed Dev C++ compiler and i work on WindowsXP Pro.
Re: tcpc.h and fdbuf.h syntax errors
MS-Windows os uses winsock.h
Re: tcpc.h and fdbuf.h syntax errors
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.
Re: tcpc.h and fdbuf.h syntax errors
there are millions of examples already out there, you just have to learn to do the research.