Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   C++ (http://www.programmingforums.org/forum15.html)
-   -   My Project (http://www.programmingforums.org/showthread.php?t=140)

emdiesse Jul 10th, 2004 5:33 PM

Hello.

I am currently in the stages of planning a project to make in C++ :D
I am trying to make a messenger system like MSN, however instead of having a main server, etc when the program is installed you are given a Unique ID.

You contacts are stored on your PC and you are notified if they are online by being sent a package (?) by there PC to notify you.
When a user logs on a package is sent out to every contact to notify them that they are online.
When they log off a package is sent to all there contacts to sday they have logged on.

How hard would this be to do?

I would really like to see this through :)

Thanks
emdiesse (<--- pronounced ---> MDS <--- my initials :D)

Mjordan2nd Jul 10th, 2004 6:34 PM

How exactly would that work? I don't see how you would know where to send a package out, unless each and every one of your contacts has a static IP.

emdiesse Jul 11th, 2004 9:08 AM

I don't know :huh: lol

Thats why its only an idea

yhdirectpro2 Jul 11th, 2004 9:13 AM

To tell you the truth, there is really no point in making that. We already have great iming programs. It would be redundent to make another. Unless you add more features and functions! ;)

Mjordan2nd Jul 11th, 2004 12:28 PM

Well, the thing is, he may just be making it to learn. Eventually, I'm going to try to make my own OS, one day, but not with the expectation of overthrowing Windows or Linux. Hell, I probably won't even market it. I'm not going to be making it for any other reason other then self-satisfaction and just wanting to learn.

emdiesse Jul 11th, 2004 5:26 PM

Quote:

Originally posted by yhdirectpro2+Jul 11 2004, 01:13 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (yhdirectpro2 @ Jul 11 2004, 01:13 PM)</td></tr><tr><td id='QUOTE'> To tell you the truth, there is really no point in making that. We already have great iming programs. It would be redundent to make another. Unless you add more features and functions! ;) [/b]

Yup... i understand there are good ones, however they all have contact list limits and the way people change there emails with the wind and you never know which emails you can delete from the contact list :blink:

So i thought that maybe if it uses there static IP it will never change and then there display name will mask that when they are done.

anyway the problem of filling contact lists up so you can't add more unless you delete some would be resolved because the contacts would be stored on your PC (so you can have as many as your harddisc permits :))

If this does work... great if no never mind... it was worth a try :)

I also thought that maybe instead of using there IP you could possible create the program so it makes an unique ID (like a mobile phone number) However that only a thought.
Then if you have more than one user each user would be assigned an added bit to the number. For example

Single user: 0264856

Multiple users:
1: 0264856:User1
2: 0264856:User2
So on So forth

:D

It may turn out to be totally unrealistic, but hey its worth a try :)

<!--QuoteBegin-Mjordan2nd
@Jul 11 2004, 04:28 PM
Well, the thing is, he may just be making it to learn. Eventually, I'm going to try to make my own OS, one day, but not with the expectation of overthrowing Windows or Linux. Hell, I probably won't even market it. I'm not going to be making it for any other reason other then self-satisfaction and just wanting to learn.[/quote]

Spot on :)
No way would i be able to overthrow the current messengers
However the satisfaction of acheiving my own instant messenger would be amazing :D

Thanks for the replies

yhdirectpro2 Jul 12th, 2004 10:16 AM

Yeah, I guess I see why you are making this. Well, good luck! ;)

big_k105 Jul 12th, 2004 10:45 AM

well the only thing about setting it to a static ip would be that there isnt alot of ppl that have static ip's like most ppl on dial-up get a different ip every time they log on the internet and most cable and dsl ppl still have dynamic ips that change occationally. i know mine doesnt change very often but it does change so this wouldnt be the best way to go about this. i do like the idea of creating your own im system but the ip way of doing it mite be unrealistic unless all your friends only have static ips. just a thought tho :)

Ooble Jul 12th, 2004 11:40 AM

It won't work. Too many people have dynamic IPs, and even static IPs change from time to time. You either need a central server, or a P2P-type network. The problem with the second is that it isn't 100% reliable, and more than one person can have the same name.

sarumont Jul 12th, 2004 2:36 PM

Quote:

Originally posted by Ooble@Jul 12 2004, 09:40 AM
It won't work. Too many people have dynamic IPs, and even static IPs change from time to time. You either need a central server, or a P2P-type network. The problem with the second is that it isn't 100% reliable, and more than one person can have the same name.
Exactly what I was thinking...it would have to be implemented like P2P. Without static IPs, it would be pretty difficult to implement unless everyone had a DYNDNS name that updated with the new IP on connect. Or if there was a central server to update IP/SN associations. But let us know if you decide to try it...It will be interesting at the very least. :D


All times are GMT -5. The time now is 3:04 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC