Presentation is loading. Please wait.

Presentation is loading. Please wait.

IMDraw An Instant Message and Drawing Program Tim Poley Kelly Whitacre.

Similar presentations


Presentation on theme: "IMDraw An Instant Message and Drawing Program Tim Poley Kelly Whitacre."— Presentation transcript:

1 IMDraw An Instant Message and Drawing Program Tim Poley Kelly Whitacre

2 Agenda Background IMDraw Design Decisions  Client/Server vs. Peer to Peer Model  TCP/IP vs. UDP  Design Diagram Programming Hurdles Future Work Demonstration Questions

3 Background Early Instant Messaging- Talk Big Players Today  AIM  MS Messenger  Jabber  Trillian Why IMDraw?

4 Design Decisions: Client/Server vs. Peer to Peer Model Client/Server  Advantages Server Manages Data Supports Off-line Messages  Disadvantages Single Point of Failure P2P  Advantages Performance Advantages with P2P Broadcasting File-Transfers  Disadvantages Lower Performance with Heavy Loads

5 Design Decisions: TCP/IP vs. UDP Message Protocol TCP  Advantages Connection Disruption Detection More Reliable (retransmits when necessary) Detects Congestion in the Network  Disadvantages Slower UDP  Advantages Fast, Simple Low Delay (no transmissions) End-to-End Encryption Near Real Time transmission  Disadvantages Possible out-of-order delivery of messages

6 Design Diagram

7 Programming Hurdles Updating User Interface Controls Across Threads  - C# delegates/events used Server Crash after Client Logs Off  - proper termination of threads used TCP Connection Terminates before it Sends Logout Message to Server

8 Future Work Secure Message Transfer UDP Message Protocol Multicasting User Defined Buddy Lists Add Additional Capabilities to Drawing Tool Streamline Messages

9 References http://en.wikipedia.org/wiki/Instant_me ssaging http://en.wikipedia.org/wiki/Instant_me ssaging http://msdn.microsoft.com/library/defau lt.asp?url=/library/en-us/default.asp http://msdn.microsoft.com/library/defau lt.asp?url=/library/en-us/default.asp http://www.skullbox.net/tcpudp.php

10 Questions?

11 Demonstration

12 IMDraw Message Protocol- Supplemental IMDraw| | | | | | |.... Command: Login(0), Logout(3), Message(1), ClientList(2)

13 TCP-Supplemental


Download ppt "IMDraw An Instant Message and Drawing Program Tim Poley Kelly Whitacre."

Similar presentations


Ads by Google