-
Notifications
You must be signed in to change notification settings - Fork 3k
GeneralDocumentation
robbiehanson edited this page Nov 24, 2011
·
13 revisions
If you're a beginner to networking, you may want to start by reading the Intro page.
There are two separate libraries available for TCP: GCDAsyncSocket and AsyncSocket.
AsyncSocket is the older of the two. GCDAsyncSocket is newer, faster and thread-safe. We generally recommend GCDAsyncSocket.
They have very similar API's. In fact GCDAsyncSocket is nearly a drop-in replacement for AsyncSocket.
There are two separate libraries available for UDP: GCDAsyncUdpSocket and AsyncUdpSocket.
AsyncUdpSocket is the older of the two. GCAsyncUdpSocket is newer, faster and thread-safe. We generally recommend GCDAsyncUdpSocket.