'Connect' behaves differently on Solaris 11

Our application fails to run successfully on Solaris 11. The same works fine in Solaris 10.

Due to which we are unable to migrate to Solaris 11. The app basically involves forking a child process, which finally connects with parent process. But on Solaris 11, it is unable to connect with parent process, the same works fine in Solaris 10.

Running ''truss" command shows that connect fails with EINPROGRESS.

Similar problem has been reported by someone in another forum, but no proper answer found.

JNI/C socket connection error on Solaris 11 - Stack Overflow

And also debugging through gdb is not succeeding as no break point is hitting on Solaris 11. The same works with Solaris 10.

Any help would be greatly appreciated.

Thanks,

Vinay