Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

C++ Sockets


No replies to this topic

#1 darko100

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 117 posts
  • Gender:Male
  • myCENT:31.51

Posted 23 April 2011 - 06:22 PM

I've tried to code a command-line project which will use the sockets function to stream on port 80. So i wanted to make a HTTP server which will return some HTML code for users.

Because i'm dumb , i tried to download a C project (that should work for C++ too , with some little changes) but it didn't compile on DevCpp. I tought it is because some differences , so i found a C++ http project too. I downloaded the server version , and it didn't compile with many , many errors. I tried the client version too , but it didn't compile.

All the libraries are OK , everything is included as it should be, but it gives too much warnings and errors for syntax, functions etc. Is the compiler the problem? What compilers do you usually use to compile command-line C++?

I checked everything , the project i downloaded is suitable for Windows , it is command-line , not GUI , the libs are here , the compiler works ok with "hello world" examples.

I'm good at PHP programming , but C++ with all that voids , main etc. is a little complicated, i'm reading books and tutorials now , the pointers are specially problem. But i don't really need to know it , i need it specially now for a project , as i said , HTTP server which will return static HTML.




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users