|
| |||||||||||||||||||||||||||
| Vita (6) | |
|
I've learnt basics of C++ programming, but I don't know how to make a simple chat application with winsock in C++. I'm using MiniGW compiler so if anybody could give me an example of server and client app using winsock. Not something very advanced just something for beginner to learn from. Thanks! | |
|
|
|
| writetonsharma (1181) | |||
|
if you google you can find many simple chat programs or client/server app's using winsock or any socket api. Also, if you dont want to invent anything new you can use some already tested libraries like boost, QT which provide socket classes and you just need to send and recv data using them. The simplest way using sockets is like this:
this is the simplest way and using some c++ library can be more easy. to handle multpile clients you may need threads which can be implemented in next version. | |||
|
Last edited on
|
|||