AsyncSocket
last edited May 1, 2009 18:10:26 (206.248.171.227)
| |
|---|---|
| Edit / History / New / Search | Quick Links: Home / Recent Changes / Glossary / Jobs / Forums / Help |
|
AsyncSocket is a class that wraps CFSocket and CFStream. It is listed on VersionTracker, and you can download it from:
What I look for in a socket is fire-and-forget functionality and asynchronous operation. That is, I don't expect the socket to block under any circumstances, and I expect to tell it to read x number of bytes and have it tell me when it finishes. I checked out DizSocket and NetSocket, but they weren't up to par, so I wrote AsyncSocket. Here are the key features:
Comparing AsyncSocket to other libraries, DizSocket does not accept connections and SmallSockets is more difficult to use. I dare say that AsyncSocket is the best socket library out there short of OmniNetworking. And of course, I actually update it every once in a while. :)
Version 3.13 can be used with Mac OS X 10.3. Version 4.3 requires Mac OS X 10.4, and has the following changes from 4.21:
Just to say that my experience with AsyncSocket has been flawless so far, and better than any of the alternatives I tried.
Me too, about a year ago. And since then, he's updated it, so it's still alive and well. Good to know. -- Larry Gerndt (lgerndt@mac.com)
I try to use AsyncSocket for sending and receiving continuous data streams (audio).
When using AsyncSocket from within the main thread, all works fine so far but obviously when the user opens a menu or uses a GUI control, the AsyncSockets? disrupt the send/receive streams.
So I tried to create and use the AsyncSockets? from within a worker thread with its own NSRunloop. I've implemented
I finally found the solution myself: The problem was, that I've called
It appears that AsyncSocket is being maintained by Deusty Designs (the company that makes the Mojo music sharing software): http://deusty.blogspot.com/search/label/AsyncSocket
I am the original author of AsyncSocket. I have no problem with someone else taking over. It's in the public domain, after all. Less work for me! :-)
MarketcircleInc uses AsyncSocket as the foundation of its new client-server protocols. Thank you, DustinVoss. | |
| Edit / History / New / Search | Quick Links: Home / Recent Changes / Glossary / Jobs / Forums / Help |