SourceForge logo
SourceForge logo
CocoaAsyncSocket

CocoaAsyncSocket

Asynchronous socket networking library for Mac and iOS

This is an exact mirror of the CocoaAsyncSocket project, hosted at https://github.com/robbiehanson/CocoaAsyncSocket. SourceForge is not affiliated with CocoaAsyncSocket. For more information, see the SourceForge Open Source Mirror Directory.
Share This
Email in envelope

Get an email when there's a new version of CocoaAsyncSocket

Mac

CocoaAsyncSocket provides easy-to-use and powerful asynchronous socket libraries for macOS, iOS, and tvOS. The classes are described below. The project is currently configured to build for iOS, tvOS and Mac. Simply add the package dependency to your Package.swift and depend on "CocoaAsyncSocket" in the necessary targets. You can also include it into your project by adding the source files directly, but you should probably be using a dependency manager to keep up to date. GCDAsyncSocket is a TCP/IP socket networking library built atop Grand Central Dispatch. Automatically accept incoming connections over both IPv4 and IPv6 with a single instance of this class. No more worrying about multiple sockets. Secure your socket with ease using just a single method call. Available for both client and server sockets. It runs entirely within its own GCD dispatch_queue, and is completely thread-safe. Further, the delegate methods are all invoked asynchronously onto a dispatch_queue of your choosing.

Features

  • No need to muck around with sockets or streams. This class handles everything for you
  • Errors, connections, read completions, write completions, progress, and disconnections all result in a call to your delegate method
  • You tell it what to read or write, and it handles everything for you
  • Queueing, buffering, and searching for termination sequences within the stream, all handled for you automatically
  • Spin up a server socket, tell it to accept connections, and it will call you with new instances of itself for each connection
  • Automatically connect to IPv4 or IPv6 hosts

Project Activity

See All Activity >

Categories

Networking, Libraries

License

BSD License

Follow CocoaAsyncSocket

CocoaAsyncSocket Web Site

You Might Also Like
ADVANCE Your Career: Unlimited Access to 10,000+ Courses Icon
ADVANCE Your Career: Unlimited Access to 10,000+ Courses

Elevate your career with Coursera Plus. Access 10,000+ courses and certifications to help you grow professionally.

With Coursera Plus, you gain unlimited access to 10,000+ courses, professional certificates, and skill-building programs from top universities and companies. Whether you’re aiming for a promotion, switching careers, or acquiring new skills, Coursera Plus offers the tools you need for career success. From business and technology to leadership and data science, get certified and boost your credentials at your own pace. Join today and start building the career you’ve always dreamed of.
Start for Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of CocoaAsyncSocket!

Additional Project Details

Operating Systems

Apple iPhone, Mac

Programming Language

Objective C

Related Categories

Objective C Networking Software, Objective C Libraries

Registered

2021年05月13日
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X

Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /