1 / 14

IMDraw

IMDraw. An Instant Message and Drawing Program Tim Poley Kelly Whitacre. Agenda. Background IMDraw Design Decisions Programming Hurdles Future Work Demonstration Questions. Background. Early Instant Messaging- Talk Big Players Today AIM MS Messenger Jabber Trillian

burke
Download Presentation

IMDraw

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. IMDraw An Instant Message and Drawing Program Tim Poley Kelly Whitacre

  2. Agenda • Background • IMDraw Design Decisions • 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 • C# Programming Language • Server/Client Model • TCP Internet Protocol

  5. Design Diagram

  6. 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

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

  8. References • http://en.wikipedia.org/wiki/Instant_messaging • http://msdn.microsoft.com/library/default.asp?url=/library/en-us/default.asp • http://www.skullbox.net/tcpudp.php

  9. Questions?

  10. Demonstration

  11. IMDraw Message Protocol-Supplemental IMDraw|<Sender>|<Receiver>|<Command>|<TextDetails>|<Point1 x>|<Point1 y>|.... • Command: Login(0), Logout(3), Message(1), ClientList(2)

  12. 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 Design Decisions: Client/Server vs. Peer to Peer Model-Supplemental

  13. 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 Design Decisions: TCP/IP vs. UDP Message Protocol-Supplemental

  14. TCP-Supplemental

More Related