There is connection_error at onInitUDPDone

0 votes
Let me show you my AppWarpTrace. ( I'm using flash air )

 

AppWarpTrace 21:24:27 GMT+0900:[HTTP]Recieved : {"address":-------------------}

AppWarpTrace 21:24:28 GMT+0900:[Socket]Connected

AppWarpTrace 21:24:28 GMT+0900:initUDP 58065 from IP 0.0.0.0

AppWarpTrace 21:24:31 GMT+0900:onInitUdpTimer Expired

 

why can't I copy&paste....

Anyway... After the last AppWarpTrace massage, I can't use 'sendUdpUpdate'.

What does the 'onInitUdpTimer Expired' mean?

and what should I do? I'm not expert at UDP.... plz teach me to understand easily.

thanks.
asked Dec 17, 2014 in AppWarp by 0307kwon (16 points)

1 Answer

+1 vote
 
Best answer
Hi,

The goal of providing initUDP was to let developers know if UDP is supported on their network or not. Sadly not all networks have support for UDP.  The above error means that your network does not support UDP.

The issue is caused by NAT. On some networks when you send a message through UDP, network does not store the port of sending client. So when response comes back from server, the network does not know where it should give back response.

I recommend you to use TCP as a fallback technique. Whenever you are not having UDP connectivity, use TCP.
answered Dec 18, 2014 by Suyash Mohan (900 points)
selected Dec 20, 2014 by 0307kwon
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...