Skip to content

Problem with local IP (probably) #1

@neisip

Description

@neisip

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions