Tutorial: Building A Simple iOS TCP Socket Based App Client And Server

There are many guides, and libraries available to make HTTP communication between iOS apps/servers easier.  I’ve found an excellent step-by-step tutorial that demonstrates how to use NSStream and CSStream to communicate from within your iOS apps to a TCP server.

The tutorial is from Cesare Rocchi and also demonstrates the basics of creating a custom TCP server using Python, and the Twisted networking engine along with how to make a simple interface for the client in Cocoa Touch..

You can find the tutorial here:
How To Create A Socket Based iPhone App And Server

You can read more about the Twisted networking engine on their offical site here:
http://twistedmatrix.com/

Overall this is a great tutorial that guides you with detail through every step.

 

©2011 iPhone, iOS 4, iPad SDK Development Tutorial and Programming Tips. All Rights Reserved.

.

DeliciousTwitterTechnoratiFacebookLinkedInEmail

Leave a Reply

Your email address will not be published. Required fields are marked *