none
[WPSL][C#] how to code peer-to-peer connection for chat app RRS feed

  • Question

  • Hi. Firstly, I would like to express the idea I have created on what I think how to build this peer-to-peer network and then when I'm done I would like to hear the actual answer to my question from you.

    Okay, here is my logic to do this:

    I've heard that the IP addresses of mobile device is dynamic so it changes regularly. We will make use of a server to keep record of the current IP of all devices/clients. When user A sign in the devices IP gets send to the server and if this user have friends (and they are also signed in) the user A retrieves her friends IP addresses or do we assign a temp IP to the client that we name our self?

    I'm trying to follow this example http://www.codeproject.com/Articles/17321/A-simple-peer-to-peer-chat-application-using-WCF-n. How does the IP of clients work. Can you teach me how to send a message from one device directly to another without a remote server? Thank you in advance

    Saturday, September 5, 2015 9:02 PM

All replies