CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2005
    Posts
    3

    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.

  2. #2
    Join Date
    Jun 2002
    Posts
    1,417

    Re: tcpc.h and fdbuf.h syntax errors

    those are typically *nix files for *nix compilers. What compiler and os are you using?

  3. #3
    Join Date
    Jul 2005
    Posts
    3

    Re: tcpc.h and fdbuf.h syntax errors

    I'm using Bloodshed Dev C++ compiler and i work on WindowsXP Pro.

  4. #4
    Join Date
    Jun 2002
    Posts
    1,417

    Re: tcpc.h and fdbuf.h syntax errors

    MS-Windows os uses winsock.h

  5. #5
    Join Date
    Jul 2005
    Posts
    3

    Wink 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.

  6. #6
    Join Date
    Jun 2002
    Posts
    1,417

    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
  •  





Click Here to Expand Forum to Full Width

Featured