Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 08-20-2010, 12:07 PM   #1 (permalink)
Registered Member
 
Join Date: Sep 2009
Posts: 58
pufftissue is on a distinguished road
Default General advice on how to create a peer-to-peer messaging app?

Hi everyone,

I need to create a basic secure messaging app between people. I'd appreciate general advice as to how to build this app. It can be very basic.

Specs:
A text-message like app where you can pick the name of a person, and send a messsage to them, and the person can send a reply back.

What networking APIs do I use for this? Gamekit (seems only to be only for bluetooth), CFNetwork? Push notifications? Bonjour?

Should I do a peer-peer or a client-server model? If I need to create a server, what would be the steps required to do that?

Could someone point me out to a good and recent (SDK 3 or 4) tutorial and/or the juicy parts of the documentation? I see a ton of networking documentation and I'm not really sure which parts I need to read.

A general plan of attack would be met with great glee(the more detailed, the more I will hug you)!

Thanks!

Last edited by pufftissue; 08-20-2010 at 12:18 PM.
pufftissue is offline   Reply With Quote
Old 08-20-2010, 01:12 PM   #2 (permalink)
Registered Member
 
Join Date: Feb 2009
Posts: 170
jonahgabriel is on a distinguished road
Default

Quote:
Originally Posted by pufftissue View Post
Hi everyone,

I need to create a basic secure messaging app between people. I'd appreciate general advice as to how to build this app. It can be very basic.

Specs:
A text-message like app where you can pick the name of a person, and send a messsage to them, and the person can send a reply back.

What networking APIs do I use for this? Gamekit (seems only to be only for bluetooth), CFNetwork? Push notifications? Bonjour?

Should I do a peer-peer or a client-server model? If I need to create a server, what would be the steps required to do that?

Could someone point me out to a good and recent (SDK 3 or 4) tutorial and/or the juicy parts of the documentation? I see a ton of networking documentation and I'm not really sure which parts I need to read.

A general plan of attack would be met with great glee(the more detailed, the more I will hug you)!

Thanks!
I would do the following:

1) Create a secure webservice to handle message passing in .net.

2) Add in a Push notifications to let users know when they have new messages.

3) ...

4) Profit!

You can use NSURLConnection to send requests to your webservice and then parse the result string.
jonahgabriel is offline   Reply With Quote
Old 08-20-2010, 04:07 PM   #3 (permalink)
Registered Member
 
Join Date: Sep 2009
Posts: 58
pufftissue is on a distinguished road
Default

So I just heard about XMPP (Jabber), and would it be easier to just use that or build a messaging app from scratch? Do people typically build a networked app from scratch given the existence of XMPP? I am reading the Apple CFNetwork docs and wow, it is extremely daunting to me.

How would I also add an online "buddy" list? I'm at a loss as to how to implement that part.

Last edited by pufftissue; 08-21-2010 at 12:07 AM.
pufftissue is offline   Reply With Quote
Reply

Bookmarks

Tags
chat, instant, messaging, networking

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 341
5 members and 336 guests
freewind, HemiMG, lendo, Newbie123, PlutoPrime
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,657
Threads: 94,118
Posts: 402,894
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jenniead38
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 12:54 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0