?
Solved

P2P Networking Explanation

Posted on 2011-09-15
4
Medium Priority
?
305 Views
Last Modified: 2012-05-12
Hi there,

I'm currently on a project where I need to send files and chat messages to users connected via the internet. The running enviroment is Apple Mac(Snow Leopard,Lion). Development environment is Objective C.

I figured that I'll probably will need to use some kind of P2P service, but I can't seem to find one that has an API or libraries for objective c. Chances are I'll have to setup my own P2P server.

As I understand it, the flow of how things is actually going to run, is like this:

Client 1 creates a "chat room"
Client 1 sends this information to the P2P server
Client 2 connects to the P2P server to check for chatrooms
P2P server sends Client 1's chatroom information to Client 2
Client 2 connects to Client 1's chat room (Directly?)

At this point file sharing and chatting should be possible.

Now, my issue is that I know that the above aproach is incorrect. Can anyone give me a more accurate , detailed description on how this would play out?
0
Comment
Question by:EZFrag
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 13

Accepted Solution

by:
marine7275 earned 1200 total points
ID: 36543020
0
 
LVL 4

Assisted Solution

by:hassanwarraich
hassanwarraich earned 300 total points
ID: 36549944
I have also made chat room application with peer to peer concept the following links will give you valueable help:
WPF

Basic
0
 
LVL 9

Author Comment

by:EZFrag
ID: 36947695
Hi there,

Thanks for your input. I have decided to use a Jabber server, in specific, eJabber. Now I am looking for a Library in Objective C that I can use to communicate with the server, but that is something for another time.

Regards,
EZFrag
0
 
LVL 9

Author Closing Comment

by:EZFrag
ID: 36947701
The suggestions managed to eventually point me in the direction of eJabber
0

Featured Post

WordPress Tutorial 3: Plugins, Themes, and Widgets

The three most common changes you will make to your website involve the look (themes), the functionality (plugins), and modular elements (widgets).

In this article we will briefly define each again, and give you directions on how to install them.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question