Error using network public release 2016.2906

Hello everybody! I hope you be fine :slight_smile:

Going to the point, I’m getting a very strange error since I updated to the last public release 2016.2906.

I have a game with multiplayer, developed following this tutorial:

https://coronalabs.com/blog/2014/09/23/tutorial-local-multiplayer-with-udptcp/

The game was released by first time some months ago, and I’m making updates as often as possible. Today I updated the Corona SDK in order to get the last Corona features before building the game to upload, and when it was done, the connection between my pc and my Android stopped working.

I didn’t test it very much, but strangely using an old build I can connect with the pc (Using the new simulator) normally, as well as I can connect using the new build and an old version of Corona SDK in the pc   :huh: .

Strangely, using the new build and the new corona simulator it doesn’t work. I can also build the game (with the last source code) with the old Corona SDK and all work perfectly.

Can it be a bug? It’s very strange, I know, but I think I’m not missing anything.

I also noticed that the apk made by the newer Corona SDK is around 300kb lighter.

Thanks for your attention! Best regards!

Sometime between the last public build (2830) and the current public build (2906), we changed the Lua Socket Library from 2.0 to 3.0. The new library contains support for IPv6 which is needed to support iOS going forward. Because of this there are somethings you have to do going forward to use socket based communications.

This blog post may be of use to you:  https://coronalabs.com/blog/2016/05/27/apple-ios-and-the-ipv6-deadline/

This forum post may also be of use to you: https://forums.coronalabs.com/topic/63788-autolan-ipv6/

Rob

A lot of thanks! 

I never noticed that update to Lua Socket 3.0. I also was testing how AutoLan works, and it’s better than the modules I was using in my game, so I’ll update to AutoLan soon to improve the gaming experience.

Thanks for your quick help! Best regards!

Sometime between the last public build (2830) and the current public build (2906), we changed the Lua Socket Library from 2.0 to 3.0. The new library contains support for IPv6 which is needed to support iOS going forward. Because of this there are somethings you have to do going forward to use socket based communications.

This blog post may be of use to you:  https://coronalabs.com/blog/2016/05/27/apple-ios-and-the-ipv6-deadline/

This forum post may also be of use to you: https://forums.coronalabs.com/topic/63788-autolan-ipv6/

Rob

A lot of thanks! 

I never noticed that update to Lua Socket 3.0. I also was testing how AutoLan works, and it’s better than the modules I was using in my game, so I’ll update to AutoLan soon to improve the gaming experience.

Thanks for your quick help! Best regards!