Dustin VonHandorf & Rohan John 26 April 2005 Chatterbox is a basic Instant Messenger Application...

4
Dustin VonHandorf & Rohan John 26 April 2005 • Chatterbox is a basic Instant Messenger Application • Currently aimed at 2 users interacting at a time • Main programming concepts utilized include : • Network/Socket Programming • GUI Design using Glade-2 • Main components include Server and Client processes • Status: • Success – Perfect inter-machine chatting capability. • Screenshot on following page
  • date post

    19-Dec-2015
  • Category

    Documents

  • view

    213
  • download

    0

Transcript of Dustin VonHandorf & Rohan John 26 April 2005 Chatterbox is a basic Instant Messenger Application...

Dustin VonHandorf & Rohan John

26 April 2005• Chatterbox is a basic Instant Messenger Application

• Currently aimed at 2 users interacting at a time

• Main programming concepts utilized include :

• Network/Socket Programming

• GUI Design using Glade-2

• Main components include Server and Client processes

• Status:

• Success – Perfect inter-machine chatting capability.

• Screenshot on following page

• Key Concepts

• Exceptions

• TCP/IP Sockets

• Kernel Calls

• Single Threading

• Character String Manipulation

• Continuously polls sockets using recv() and testing errno for the value EAGAIN.

• Decides on a course of action based on various attributes of the message it receives.

• Key Concepts

• GUI design using Glade-2

• “button_clicked” functions for each of the 3 buttons

• Formatted message protocol for communication with Server

• Single Threading

• Polls socket once a second for incoming communication.

• Glade GUI is harnessed using pointers to the .glade files for each window