|
-
July 20th, 2005, 05:24 AM
#1
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.
-
July 20th, 2005, 06:27 AM
#2
Re: tcpc.h and fdbuf.h syntax errors
those are typically *nix files for *nix compilers. What compiler and os are you using?
-
July 20th, 2005, 07:07 AM
#3
Re: tcpc.h and fdbuf.h syntax errors
I'm using Bloodshed Dev C++ compiler and i work on WindowsXP Pro.
-
July 20th, 2005, 08:42 AM
#4
Re: tcpc.h and fdbuf.h syntax errors
MS-Windows os uses winsock.h
-
July 20th, 2005, 09:06 AM
#5
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.
-
July 20th, 2005, 11:02 AM
#6
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|