KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Does anyone have any good tutorials on sending UDP packets from the iPhone SDK? EDIT: Was actually really easy to do this... RTFM! After including AsyncUdpSocket just add this in header: AsyncUdpSocket *socket; And in main: NSData *data = ... [socket sendData:data toHost:@"192.168.x.x" port:5002 withTimeout:-1 tag:1]; When testing don't forget to allow UDP communication on your server firewall!
Tags (comma-separated)
Save Edits
Cancel