4
I Use This!
Activity Not Available
Analyzed over 2 years ago. based on code collected over 4 years ago.

Project Summary

CocoaAsyncSocket supports TCP and UDP. The AsyncSocket class is for TCP, and the AsyncUdpSocket class is for UDP. Each class is described below.

AsyncSocket is a TCP/IP socket networking library that wraps CFSocket and CFStream. It offers asynchronous operation, and a native cocoa class complete with delegate support. Here are the key features:

Queued non-blocking reads and writes, with optional timeouts. You tell it what to read or write, and it will call you when it's done. Automatic socket acceptance. If you tell it to accept connections, it will call you with new instances of itself for each connection. You can, of course, disconnect them immediately. Delegate support. Errors, connections, accepts, read completions, write completions, progress, and disconnections all result in a call to your delegate method. Run-loop based, not thread based. Although you can use it on main or worker threads, you don't have to. It calls the delegate methods asynchronously using NSRunLoop. The delegate methods include a socket parameter, allowing you to distinguish between many instances. Self-contained in one class. You don't need to muck around with streams or sockets. The class handles all of that. Support for TCP streams over IPv4 and IPv6. The library is public domain, originally written by Dustin Voss. Now available in a public setting to allow and encourage its continued support.

AsyncUdpSocket is a UDP/IP socket networking library that wraps CFSocket. It works almost exactly like the TCP version, but is designed specifically for UDP. This includes queued non-blocking send/receive operations, full delegate support, run-loop based, self-contained class, and support for IPv4 and IPv6.

Tags

socket ssl tls tcp cocoa iphone stream udp ipodtouch

In a Nutshell, cocoaasyncsocket...

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    Black Duck offers a free trial so you can discover if there are open source vulnerabilities in your code
  • ...
    learn about Open Hub updates and features on the Open Hub blog
  • ...
    65% of companies leverage OSS to speed application development in 2016
  • ...
    anyone with an Open Hub account can update a project's tags

Languages

Languages?height=75&width=75
XML
58%
Objective-C
36%
C++
6%
2 Other
<1%

30 Day Summary

Sep 15 2012 — Oct 15 2012

12 Month Summary

Oct 15 2011 — Oct 15 2012
  • 0 Commits
    Down -55 (100%) from previous 12 months
  • 0 Contributors
    Down -2 (100%) from previous 12 months

Ratings

Be the first to rate this project
Click to add your rating
   Spinner
Review this Project!