Publisher's Description
From Dustin Voss:
AsyncSocket is a class that wraps CFSocket and CFStream. I've compared it against DizSocket, NetSocket, and SmallSockets, and I dare say that AsyncSocket is the best socket class out there short of OmniNetworking.
Key Features:
- Queued non-blocking reads and writes, with timeouts. You tell it what to read or write and get out of the way. It'll call you when it is 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, 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.
What's new in this version:
- Fixed some memory leaks.
- Fixed some crashes involving delegate calls.
- Better at reading final data from a broken connection.
- The CR, LF, and CFLF data works now.
More Popular Programming Software downloads
- Adobe AIR
264 downloads
- OpenGL Extensions Viewer
117 downloads
- JavaScript OSA
110 downloads
- NetBeans
83 downloads
- LaunchPad
81 downloads
Add Your Review
Submit your reply
E-mail this review
Report offensive content
Previous Versions: