Click here to Skip to main content
15,893,487 members
Articles / Desktop Programming / MFC
Article

A simple chat program

Rate me:
Please Sign up or sign in to vote.
1.07/5 (24 votes)
10 Jun 2004 53.4K   2.5K   11   4
A simple chat program

Introduction

This little package if I may call it this way contains a series of three programs.

One of the is server one of them is a client and of them is a server and a client.

The server and client work tohether. Tthe server can only receive the messages sent from the client and the client can only send them.

The program that has the server and the client reveives and also sends messages.

You can also send to a file that you have in your computer just by giving the path

The program uses the winsock2.h and ws-32.lib files to connect and receive files.

For the rookies in winsock programming these win32 apies with MFC support are a great start

to learn .

The program also allows you to restart , shutdown,logoff, show   a messagebox, write a reg key, execute or delete a file to the one you connected.

Hope you enjoy it and if you have question just ask

:)

 

 

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Software Developer
Romania Romania
I love VC++

Comments and Discussions

 
Generalcreating a chat app Pin
Member 1201521627-Sep-15 10:15
Member 1201521627-Sep-15 10:15 
Questionpublic adderssing system Pin
cobol2514-Dec-05 11:51
cobol2514-Dec-05 11:51 
GeneralSome things you should do... Pin
Patrik Svensson13-Jun-04 9:08
Patrik Svensson13-Jun-04 9:08 
I got some suggestions for you how to do your article a little better:

1) You should divide the downloads into source, demo and executable zip-files. Not only one file with everything in it.
2) Try using zip compression only (not mixing rar and zip).
3) You should really, really remove all the big BMP-files from the archives. 1300 kb is way to much for a project.
4) You should check the grammar and spell-check your document in word(tm). Wink | ;)

These are just suggestions to help you out. A little constructive criticism.



"If knowledge can create problems, it is not through ignorance that we can solve them."
Isaac Asimov
GeneralRe: Some things you should do... Pin
gamitech13-Jun-04 9:15
gamitech13-Jun-04 9:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.