-
Notifications
You must be signed in to change notification settings - Fork 3k
GeneralDocumentation
kainjow edited this page Aug 31, 2012
·
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. GCDAsyncUdpSocket is newer, faster and thread-safe. We generally recommend GCDAsyncUdpSocket.