STUN-iOS icon indicating copy to clipboard operation
STUN-iOS copied to clipboard

Problem with local IP (probably)

Open neisip opened this issue 10 years ago • 0 comments

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!

neisip avatar Feb 02 '15 14:02 neisip