Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
Hints for a messenger
none
Nov 7 2009 8:31 AM
2.3k
Reply
I`m working for a messenger from a while... and i have some question...
1) how to receive friend list?
It`s a good idea to make a list in a bidimensional array on the server and send it to client?
example:
server side:
string[][] List = new string[nr][];
... populate the list... and send it to client
or... if this isn`t a professional solutin... I need some hints...
2) my messenger it`s a little weird... :-s
When I sing in, the login information are send to server... and the server are getting my IP and return my friend list (and theirs IPs). In every client are implemented a server and a client.
When I want to speak with someone... I can connect directly to his server.
So... after login, the MainServer it`s there just for checking me to see if I`m oline (from time to time)
Again... it`s this a good solutin?
My messenger will work a lot with connexions... and i share movies, images, music and a lot of things... i realy need a high connection.
Thanks
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
Nameless temporary objects
Public array?