Skip to content

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.

TCP

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.

UDP

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.

Clone this wiki locally