match login user to my userlist

Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Sep 2004
Posts: 2
Reputation: izaki is an unknown quantity at this point 
Solved Threads: 0
izaki izaki is offline Offline
Newbie Poster

match login user to my userlist

 
1
  #1
Sep 5th, 2004
i have a project is something like instant messaging, how to know who logged in and check wheather the user is in my userlist (e.g user.txt)

Anyone can help me?
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 1,749
Reputation: nanosani is an unknown quantity at this point 
Solved Threads: 55
Team Colleague
nanosani's Avatar
nanosani nanosani is offline Offline
Unauthenticated Liar

Re: match login user to my userlist

 
0
  #2
Sep 5th, 2004
You havnt been able to explain your question well ... but if you are planning to make a messenger like msn or yahoo ... you'll have one server running at all times .... and then when the user signs in ... it'll request the server ... and the server will determine who in his buddy list is active and who is not....

If you are planning a lan messenger .. then its so easy ... study the basic networking concepts of java and you'll be on a flying start on your messenger. If you have any probs ... post them here ... you'll be helped.
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 2
Reputation: izaki is an unknown quantity at this point 
Solved Threads: 0
izaki izaki is offline Offline
Newbie Poster

Re: match login user to my userlist

 
0
  #3
Sep 5th, 2004
yah my messager is something like msn, n i have a server model to do the peocessing part. but i do not know how the server determine who in his buddy list is active and who is not
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 1,749
Reputation: nanosani is an unknown quantity at this point 
Solved Threads: 55
Team Colleague
nanosani's Avatar
nanosani nanosani is offline Offline
Unauthenticated Liar

Re: match login user to my userlist

 
0
  #4
Sep 6th, 2004
make a file of online user ids ... when the user gets online ... the file is updated... attach a listener to it ... check it whenever it changes for all the users....

Its tedius but its straight forward.
Reply With Quote Quick reply to this message  
Join Date: Jul 2003
Posts: 117
Reputation: Iron_Cross is an unknown quantity at this point 
Solved Threads: 2
Iron_Cross's Avatar
Iron_Cross Iron_Cross is offline Offline
Junior Poster

Re: match login user to my userlist

 
1
  #5
Sep 6th, 2004
go to www.seclude.org it's an entire messaging system, like aim or msn or whatnot. It's written in Java, and it's fully open source and free to download. It also implements some very advanced encryption techniques. It's quite possibly the safest way to talk over the internet. Download it and see how they conquered this problem.
elitehackers.info
Today's Penny-Arcade!
Pain is weakness leaving the body!
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



Tag cloud for Java
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC