changing ip's a problem...
-
I'm creating a few programs for chat/email purposes. The idea was for there to be no central application and each program connect to the others kinda like in a p2p network (i think). I've not really got any idea how they are going to know what ip to connect to if each time the user connects to the net they get a new ip. I'm using networkstream and tcplistener/client because thats all I know how to use. Any ideas or even pointers towards classes better suited to this would be great. Thanks
-
I'm creating a few programs for chat/email purposes. The idea was for there to be no central application and each program connect to the others kinda like in a p2p network (i think). I've not really got any idea how they are going to know what ip to connect to if each time the user connects to the net they get a new ip. I'm using networkstream and tcplistener/client because thats all I know how to use. Any ideas or even pointers towards classes better suited to this would be great. Thanks
That's the whole problem of any P2P network: finding peers. There's not a single solution and not a perfect solution. You can try connecting the last peers seen, have a central server for locating peers, or some always-on, highly-reliable peers. Yes, even I am blogging now!