robbiehanson/cocoaasyncsocket

Asynchronous socket networking library for Mac and iOS

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 24 minutes ago
Added to GitGenius on September 4th, 2026
Created on November 22nd, 2011
Open Issues & Pull Requests: 0 (+0)
GitHub issues: Enabled
Number of forks: 2,988
Total Stargazers: 12,445 (+0)
Total Subscribers: 522 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 35.0 hours
Mean response time: 15.3 days
90th percentile: 60.8 days
Tracked items: 14

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 0
New in 7 days: 0
Closed in 7 days: 0
Avg open age: N/A days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • no-issue-activity (11)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

CocoaAsyncSocket is an asynchronous socket networking library for Mac, iOS, and tvOS.

CocoaAsyncSocket solves the problem of managing network communication without blocking application threads. The library provides two main components: GCDAsyncSocket for TCP/IP networking and support for UDP. It builds on Grand Central Dispatch to handle socket operations asynchronously, managing queued reads and writes, buffering, and automatic connection handling. The TCP implementation runs entirely within its own GCD dispatch queue and is thread-safe, with delegate methods invoked asynchronously onto a queue of your choosing.

Developers should choose this library if they need straightforward asynchronous networking for Apple platforms without manually managing low-level socket operations. It suits projects requiring TCP or UDP communication with features like TLS/SSL support, IPv4 and IPv6 compatibility, and automatic server socket acceptance. The library is self-contained in native Objective-C and can be integrated via CocoaPods, Carthage, Swift Package Manager, or manual inclusion. It supports both Objective-C and Swift projects.

The project maintains active build status verification and is distributed under public domain terms. The codebase remains focused on its core networking functionality without expanding into unrelated areas.