AQSocket icon indicating copy to clipboard operation
AQSocket copied to clipboard

Trying out some asynchronous socket-level APIs using dispatch IO on iOS 5.

AQSocket

Copyright (c) 2011 Jim Dovey. All Rights Reserved.

AQSocket is a simple Objective-C socket class written to make use of dispatch I/O channels on sockets. It uses a CFSocketRef to provide asynchronous connection, and uses dispatch sources and dispatch I/O channels to implement asynchronous read and write operations.