954,141 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

match login user to my userlist

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?

izaki
Newbie Poster
2 posts since Sep 2004
Reputation Points: 11
Solved Threads: 0
 

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.

nanosani
Unauthenticated Liar
Team Colleague
1,830 posts since Jul 2004
Reputation Points: 45
Solved Threads: 56
 

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

izaki
Newbie Poster
2 posts since Sep 2004
Reputation Points: 11
Solved Threads: 0
 

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.

nanosani
Unauthenticated Liar
Team Colleague
1,830 posts since Jul 2004
Reputation Points: 45
Solved Threads: 56
 

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.

Iron_Cross
Junior Poster
117 posts since Jul 2003
Reputation Points: 46
Solved Threads: 2
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You