1 / 15

Chat Application

Chat Application. Pratheeba Murugesan Tejo Brundavana Zhenhong Zhao. Abstract. Consists of server and client module. Generate sounds when certain key words are entered. Windows sockets for implementing TCP/IP protocol. Tools Used. Microsoft Visual C++ 6 MFC

ouida
Download Presentation

Chat Application

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

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?

More Related