STUN-iOS
STUN-iOS copied to clipboard
Problem with local IP (probably)
http://stackoverflow.com/questions/28254482/p2p-udp-connection-with-stun
Here i tried to integrate your code for a simple task of sending messages with the help of demo udp echoclient and echoserver from CocoaAsyncUDPSocket. I am trying just text messages for to clients behind different NATs. It works perfectly within local network, and you code seems to be working as the server responds, BUT when i try to send- nothing ever arrives. I think the problem is that [udpsocket localHost] return me 0.0.0.0. Which leads me to a thought that the bug is on your side.
Please help ME! I Don't want to write stun client by myself!!!! As i think majority of iOS developers!