Questions tagged [gcdasyncudpsocket]

`GCDAsyncUdpSocket` is an open source UDP/IP socket networking library

Part of the open source CocoaAsyncSocket repository, this library is:

  • Native objective-c, fully self-contained in one class.

  • Full delegate support.

  • Queued non-blocking send and receive operations, with optional timeouts.

  • Support for IPv4 and IPv6.

  • Fully GCD based and Thread-Safe

34 questions
0
votes
0 answers

ARP Issues with UDP and GCDAsyncUDP

I am building a Swift desktop application that communicates with multiple hardware devices on the network via UDP, using GCDAsyncUDPSocket. For the initial scan, I create a socket and send out a broadcast message and listen for responses. When I get…
DrRocket
  • 215
  • 2
  • 14
0
votes
1 answer

GCDAsyncUdpSocket when receiving data throws malloc error

I am using GCDAcyncUDPSocket to receive data. In the below code, I am creating a tuple of (timestamp, data) and adding it into another array. Here is my code: - (void)udpSocket:(GCDAsyncUdpSocket *)sock didReceiveData:(NSData *)data…
0
votes
0 answers

Send Data to a multicast socket using GCDAsyncUDPSocket in local network

Im working in an app where you suscribe to a multicast socket to listen to other devices that post to that socket. When listening everything is working fine. The problem is when I try to post to that socket in a local network. It says "Network…
0
votes
0 answers

GCDAsyncUDPSocket WiFi interruptions on IOS 8 when Control Center slides up?

This sounds really odd, but I'm wondering if anyone else has run into this situation on IOS 8. I have an app that receives low latency audio via UDP using GCDAsyncUdpSocket, and it receives about a 200 byte packet every 20ms. Works great in the…
Chuck D
  • 313
  • 2
  • 13
1 2
3