I just need to send a basic message with via UDP. I already gave up and I guess I have to use some of the libraries out there. As I research there are examples of the AsyncUdpSocket library. I don’t know where I can download that class and I end up finding GCDAsyncUdpSocket. Aparently they have a different constructor and that is the reason why I am not able to instantiate a new object in order to send a udp message. I know the basics of objective c and I will appreciate if someone can show me a short example of how to broadcast a message. the server part I already got I am just interested in the client part.
Share
First download GCDAsyncUdpSocket from here. Then you may send packets as: