Advertisement

Chat

Started by February 11, 2005 07:04 PM
6 comments, last by xllx_relient_xllx 20 years ago
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.
Maybe you will get a better response in the Multiplayer and Networking forum

<hr />
Sander Marechal<small>[Lone Wolves][Hearts for GNOME][E-mail][Forum FAQ]</small>

Advertisement
Good idea. If someone with the capability of moving threads would move this to the Multiplayer and Networking forum, I would be much obliged.
Here you go [smile]

<hr />
Sander Marechal<small>[Lone Wolves][Hearts for GNOME][E-mail][Forum FAQ]</small>

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.

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.
Advertisement
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.
I sent you a Private msg with links to my source code.

Take care.

This topic is closed to new replies.

Advertisement