Open sumeet-gluon opened 7 years ago
Same issue .. my app rejected bcz unable to resolve the ipv6 address
Are there any updates to this issue? I have the exact same problem that no matter what address I put into the TCPClient, connecting always returns the queryFailed error.
I confirmed that mine was also acting up in the file "ytcpsocket.c" (Pods/SwiftSocket/ytcpsocket.c) in the function "ytcpsocket_connect". The issue is that after the call hp = gethostbyname(host)
is executed, hp is always null, and thus returns -1.
Please, if someone has figured out how to move passed this, any help would be much appreciated!
I had to use the IP itself to connect. DNS name didn't work.
@abbasqamar did you get any solution to connect via ipv6 address ? It gives me query failed error.
I just needed to go into Target Settings -> Signing & Capabilities and enable:
Incoming network connections (server).
Outgoing network connections (client)