Solved

P2P Networking Explanation

Posted on 2011-09-15
4
298 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
  • 2
4 Comments
 
LVL 13

Accepted Solution

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

Assisted Solution

by:hassanwarraich
hassanwarraich earned 100 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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
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.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

856 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