robbiehanson/CocoaAsyncSocket — Issue #9: GCDAsyncUDPSocket crash on intensive data rate
Author: morelloteq
Created: 2011-12-15 16:42:34+00:00
State: open

Hi,

I made some high data rate test with GCDAsyncUDPSocket class using a copy of UdpEchoServer (with small modification) and a new simple Client. What I saw is that with high data rate both client and server crashes. Adding a simple semaphore is getting better, but do not solve. The problem is in the receiving that in the real application is not under my control.
Running both apps on the same machine from Xcode and starting server and clicking send on client, the problem happen
most of the time on the first test.