Download
chat application n.
Skip this Video
Loading SlideShow in 5 Seconds..
Chat Application PowerPoint Presentation
Download Presentation
Chat Application

Chat Application

97 Vues Download Presentation
Télécharger la présentation

Chat Application

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. Chat Application Pratheeba Murugesan Tejo Brundavana Zhenhong Zhao

  2. Abstract • Consists of server and client module. • Generate sounds when certain key words are entered. • Windows sockets for implementing TCP/IP protocol.

  3. Tools Used • Microsoft Visual C++ 6 • MFC • Sockets using MFC class CAsyncSocket • Sounds using WINMM.LIB library file.

  4. Phases of Development • Design • Implementation • Testing

  5. Design Phase • Server • Listen for Incoming Request • Valid Request – Establish communication • Client • Knows Ip no. and Sends request to Server • Receives keyboard input and send them to server.

  6. Client-Server mechanism Port Server Socket (CAsyncSocket) Client Socket (CAsyncSocket) Ip no Dialog Box (CDialog) Dialog Box (CDialog)

  7. Implementation Phase • Initial Development • Two separate programs • Client • Server • Upgradation • Server and client features combined into single executable program Server

  8. Testing Phase • Black Box Testing of Application • Unit Testing of methods • Server methods • CDialog Class methods • CAsyncSocket methods • Client methods • OnConnect • OnSend • OnCReceive

  9. Communication Mechanism Dialog Box (Cdialog)

  10. Sound_Generation Dialog Box (Cdialog)

  11. Working Model

  12. Advantages • The user friendly interface enables effortless use. • The Sockets implementing TCP/IP protocols makes this application suitable for any kind of network including the internet. • The modular design of the Server and the Client enables scalability and provides scope for future improvement. • Both the Server and the Client program occupies less Disk memory.

  13. Future Plans • Using a centralized server or file for listing the IP addresses of different users. • Inclusion of graphics and animation features

  14. Bibliography • Microsoft Windows 2000 TCP/IP Protocols and Services Technical Reference by • Thomas Lee (Author), Joseph Davies • The Protocols (TCP/IP Illustrated, Volume 1) by W. Richard Stevens (Author) • MFC Tutorials • http://devcentral.iftech.com/articles/MFC/default.php • Networking • http://devcentral.iftech.com/articles/Networking/default.php

  15. Questions?