|
-
Feb 5th, 2006, 07:40 AM
#1
Re: Serverless IP Chat Tester's needed..
ok, i understand this could work via, connecting to 1 person who is connected to another, ip parsed accross and tada u now have 2 ppl to message to, id recommend UDP rather than tcp though, being serverless.
However, how do you intend to make the program find these people each time you want to "log on" so to speak? must i enter my friends IP everytime if he happens to have a dynamic IP? I don't see how that'll work, or work conviniently anyway
-
Feb 5th, 2006, 09:26 AM
#2
Thread Starter
Member
Re: Serverless IP Chat Tester's needed..
 Originally Posted by Phill64
ok, i understand this could work via, connecting to 1 person who is connected to another, ip parsed accross and tada u now have 2 ppl to message to, id recommend UDP rather than tcp though, being serverless.
However, how do you intend to make the program find these people each time you want to "log on" so to speak? must i enter my friends IP everytime if he happens to have a dynamic IP? I don't see how that'll work, or work conviniently anyway
If you follow the link on my Sig.. you can see how far I am already with this..
(I do use UDP for the chat's.... And establish a TCP connection for file transfers)
It is a peer to peer but one of the Peers is also a Server. just to keep track of online Users..
Currently it simply walks up the Subnet addresses till it finds another user..(Excluding headers the packet is 4 Bytes), Queries for the Server.. then queries the server for all online users (and their ip's..)..
The server then updates all other users with the new user..
At the moment mostly the core is done, but still needs work..(like checking if a user has timed out..) then i need to pretty up the forms... Add resizing code.. and put all the bells and wistles on it..
Gremmy...
Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving & sizing Images , Animation 1 , 2 , 3 , User Controls
Projects & Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom, moving images : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
Other Projects : Direct Physics - Inter Wise Proxy
Find me in VB6., VB.NET , Writing Articles, My Genealogy, wiccca Forum ____________________________________________
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|