The strange behavior of the non-Development Build

Hi

I wrote a С-plugin that works with a network through socket.

The plugin works fine under iOS and Mac OSX. Works fine and under Android, but only when the option - Build Development - enabled. When this option is disabled, getaddrinfo function returns EAI_NODATA (No address associated with hostname).

Why might this happen?

Unity 4.1.2, 4.3.4, Pro.
Android NDK r21.

Best regards, Roman.

Solved.

Add to AndroidManifest.xml: