cocos2dx sendUdpUpdate() help.

0 votes

hello.

please some code or more descriprion of sendUdpUpdate().

 

thanks.

asked Feb 27, 2014 in AppWarp by brown (10 points)

1 Answer

0 votes
This is the udp flavor of the sendUpdate API. Its mostly used by developers who are making action based realtime games where latency is to be minimized. Otherwise sendUpdate (default tcp) is fine. In the case of udp the server doesn't send a response onSendUpdateDone as it does for the default tcp update.

You can read more in the following blog post

http://blogs.shephertz.com/tag/cocos2dx-udp/

To use this, you must also complete a udp handshake with the server. This is initiated through initUDP().
answered Feb 27, 2014 by dhruvc (1,099 points)
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
...