Get Updates By E-mail 

Article Written By:
Johann Dowa

Open Source: Communication Libraries For Easy In iOS App HTTP Servers And Asynchronous UDP/TCP Communication

  •  
  •  
  •  
  •  
  •  

I frequently mention libraries for communicating with web services, and most recently have mentioned a library for communicating with web services created to fill the void created by the no-longer officially supported ASIHTTPRequest library, and an Objective-C implementation of the WebSockets protocol.

Recently I stumbled across a couple other excellent communication libraries, one providing an excellent easy to use HTTP server embedabble within iOS apps and the other providing native Objective-C asynchronous TCP and UDP socket libraries.

The libraries are from Robbie Hanson, and are CocoaHTTPServer, and CocoaAsyncSocket.

CocoaHTTPServer provides a lightweight HTTP server which is great if you want to embed a simple HTTP server within your apps to add something such as file sharing.

You can find CocoaHTTPServer on Github here.

CocoaAsyncSocket provides a very nice library for using TCP and UDP sockets that is fully GCD based – great so you don’t have to mess around with any low level communication libraries.

You can find CocoaAsyncSocket on Github here.

Two very useful libraries to bookmark that I can’t believe I didn’t find earlier!

 


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments