You need to invoke [udpSocket receive...] for each receive you want. This puts you in full control with timeouts, tags, etc.
UDP is a connectionless protocol. You do not need to connect. If you choose to connect, you should read and understand the documentation concerning the connect method in the AsyncUdpSocket header file. If you don't appear to be receiving data, try not connecting your UDP socket. Sometimes servers use different send/receive ports or the IP address isn't what you expected (localhost vs 10.0.0.1).
A great tool to use is always something like wireshark. I like CocoaPacketAnalyzer. This will tell you for sure if your computer is receiving the packets you think it should be receiving.
-Robbie Hanson
> --
> You received this message because you are subscribed to the Google Groups "CocoaAsyncSocket" group.
> To post to this group, send email to cocoaasy...@googlegroups.com.
> To unsubscribe from this group, send email to cocoaasyncsock...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/cocoaasyncsocket?hl=en.
>