Help with Compiler error "not clear to which this refers"

When compiling an app with the code below, the compiler complains “There is more than one item with thus name and its not clear to which it refers.”

Dim ret As TCPSocket = New ClientSocket(App.mCurrentSocket)

When searching the project, there is only 1 instance of ClientSocket found. Is there something else that this error could be referencing?


Sometimes this means your constructor signature doesn’t match and/or it couldn’t find the right constructor.

Thanks Tim!

I just found the problem, in the constructor!

Thank you for your help!