?
Solved

P2P Networking Explanation

Posted on 2011-09-15
4
Medium Priority
?
314 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 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

This article explains the fundamentals of industrial networking which ultimately is the backbone network which is providing communications for process devices like robots and other not so interesting stuff.
In this article, the configuration steps in Zabbix to monitor devices via SNMP will be discussed with some real examples on Cisco Router/Switch, Catalyst Switch, NAS Synology device.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

807 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