Sign in to follow this  

Chat

This topic is 4685 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have been doing C++ programming for awhile, and have now gotten into simple web applications of PHP and HTML, such as web pages. I've started to grow less interested in web pages, however, and am now looking to learn more about "direct" (or at least more direct than web pages) communication between computers. My thought is that I will create a very simple, console-based chat program to learn the basics of this. However, I have been searching online for tutorials for awhile now, and I'm not finding very many that are both thorough and complete. So, now I ask you for anything that might help me on my quest. Recommendations of languages, sample source, other suggestions, and links to good resources would all be helpful.

Share this post


Link to post
Share on other sites
Well I have ok code that does this in Python (it's console and just sends a default message to the server, you'd have to add input, something pretty trivial) if that's something that you're interested in. It's largely the same as the C code.

I can dig out C code if you don't get anything else, though I'm sure you will. Anyway, type 'beej' into Google and let it know that you're feeling lucky. It's a terrific article.

Also, if you're interested in books, but I feel Windows Network Programming, 2nd Edition is a worthwhile investment, though you really can find it all online. Cheers!

Good luck.

Share this post


Link to post
Share on other sites
I just finished making a simple chat client made in C. You should really try to get the book Brandon N mentioned "Windows Network Programming, 2nd Edition", I have it and it's very good.

Anyway, If you would like to check out my chat client, source code, or anything else.. let me know.

Share this post


Link to post
Share on other sites
Sorry for my slow response...I've been rather busy over the past few days. I'll check out Windows Network Programming, 2nd ed. Also, I would be interested in both the Python code from Brandon N and the C from xllx_relient_xllx. I seem to learn best from example. I don't know if you want to post it here, or e-mail it to me, or what, so I'll await a response.

Share this post


Link to post
Share on other sites

This topic is 4685 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this