This should be the last question hehe....
im making an instant messenger app... right now, to push a buddy list, check to see who's online who's offline on the user's buddy list.. I have a timer on the client end which will, every 5 seconds, send a command to the server to check the names on the user's buddy list (buddy list is also stored on the server end in an ini), and return the status of each person to the client user... (using winsock for connection)...
What I would like to do, is get rid of that 5 second delay on the buddy list.. with that 5 second timer, somebody would log off.. and they wouldnt be seen offline on another client's buddy list till 5 seconds later....
What I want, is to somehow make it so as soon as somebody logs on, another client sees them on the list....
Any ideas? even if not code.. just an idea would help tons
im making an instant messenger app... right now, to push a buddy list, check to see who's online who's offline on the user's buddy list.. I have a timer on the client end which will, every 5 seconds, send a command to the server to check the names on the user's buddy list (buddy list is also stored on the server end in an ini), and return the status of each person to the client user... (using winsock for connection)...
What I would like to do, is get rid of that 5 second delay on the buddy list.. with that 5 second timer, somebody would log off.. and they wouldnt be seen offline on another client's buddy list till 5 seconds later....
What I want, is to somehow make it so as soon as somebody logs on, another client sees them on the list....
Any ideas? even if not code.. just an idea would help tons