Thread: Chat Application using Sockets Question

  1. #1
    Registered User
    Join Date
    Nov 2011
    Posts
    35

    Chat Application using Sockets Question

    Ive made a chat application implementing sockets, But I want to implement a read notification so when the user sends a message they know when the other person read it!, How are read notifications usually implemented programmatically? So when a user opens the window it sends a special code to the server saying Ive read the message and the server sends that special code to the client that sent the message and the client reads that specific code and knows that the message was read and displays a visual marker to the user that the message was read? Am I on the right track? Are there other ways of implementing read notifications?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    Think of it as the reader typing in
    "I have read your message" and then pressing send.

    Except without all the typing, and it's your program which generates the response automatically.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 0
    Last Post: 12-03-2011, 05:41 AM
  2. Concurrent chat, Sockets
    By jakemott in forum Linux Programming
    Replies: 6
    Last Post: 11-29-2008, 05:41 PM
  3. Programming chat client, need some help (sockets & threads)
    By lalilulelo17 in forum Linux Programming
    Replies: 1
    Last Post: 04-19-2008, 04:01 AM
  4. Application(GUI) and sockets(other blocking things)
    By LMZ in forum Windows Programming
    Replies: 2
    Last Post: 03-29-2007, 02:27 AM
  5. Questions about basic chat application
    By brutaltruth in forum C++ Programming
    Replies: 1
    Last Post: 11-07-2005, 03:24 PM