Solved

P2P Networking Explanation

Posted on 2011-09-15
4
294 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Connect to wifi using GPO 6 62
Multicast in a layer 2 to layer 3 migration 1 36
Windows 7 Share with XP 22 70
OSPF Design NSSA 5 36
Lets look at the default installation and configuration of FreeProxy 4.10 REQUIREMENTS 1. FreeProxy 4.10 Application - Can be downloaded here (http://www.handcraftedsoftware.org/index.php?page=download) 2. Ensure that you disable the windows fi…
Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
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…

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now