Click here to Skip to main content
16,005,491 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.8K   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 
Laugh | :laugh: hi every one i am new one here ok
i need help to build the public adderssing system it acaual very difficulat to bulid that system alon so i write the senairo and my email to be contact
the senairo:
The Ethernet Public Address System consists of a central system controller, a microphone and a speaker. It uses Ethernet as its communication media. Each microphone module or speaker module contains a RabbitCore 2000 processor which handles the communication process. The central control system controls the communication between microphone and speaker.
The central controller assigns an IP address to any module when it is plugged into the Ethernet. It then controls which speakers the voice goes to from a microphone. Every time a user wants to broadcast a message via EPAS, he/she can determine which speakers the voice should be sent to via settings on the central controller.
The portability of microphone and speaker modules makes things so much simpler. A microphone module can be made available in any room, provided that the room is cabled with Ethernet. A further advantage of the system derives from the fact that, by using Ethernet, the EPAS becomes totally flexible. Microphone modules or speaker module can be added or taken off at any time.
tamercmc@yahoo.com

tamer
GeneralSome things you should do... Pin
Patrik Svensson13-Jun-04 9:08
Patrik Svensson13-Jun-04 9:08 
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.