We just released version 1.6.4 of the C++ API for SmartFoxServer 2X, which provides official IPv6 support.
You can download the new API from this page: http://www.smartfoxserver.com/download/sfs2x#p=client
C++ API v1.6.4 released
Moderators: Lapo, Bax, MBagnati
C++ API v1.6.4 released
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
Re: C++ API v1.6.4 released
Hi Bax,
I just replace with smartfox 1.6.4 C++.
When device connect with IPv6.
I see client can connect to server, but cannot login.
Can you help me?
Thanks!
I just replace with smartfox 1.6.4 C++.
When device connect with IPv6.
I see client can connect to server, but cannot login.
Can you help me?
Thanks!
Re: C++ API v1.6.4 released
Hello,
This is review from Apple
From Apple
2.2 - Apps that exhibit bugs will be rejected
2.2 Details
We discovered one or more bugs in your app when reviewed on an iPad running iOS 9.3.2 and an iPhone running iOS 9.3.2 on both Wi-Fi and cellular networks.
Next Steps
Apps are reviewed on an IPv6 network. Please ensure that your app supports IPv6 networks, as IPv6 compatibility is required.
For additional information about supporting IPv6 Networks, please refer to Supporting iPv6 DNS64/NAT64 Networks.
For a networking overview, see About Networking.
//My steps
1. Please follow this instruction to create an ipv6 network:
https://developer.apple.com/library/mac ... -CH213-SW1
2. Your "client" (Iphone, Ipad) connect to ipv6 network just created.
3. client connect to server:
- onConnection is OK.
- but loginRequest send nothing or server can't listen from client.
C++ client API 1.6.4
This is review from Apple
From Apple
2.2 - Apps that exhibit bugs will be rejected
2.2 Details
We discovered one or more bugs in your app when reviewed on an iPad running iOS 9.3.2 and an iPhone running iOS 9.3.2 on both Wi-Fi and cellular networks.
Next Steps
Apps are reviewed on an IPv6 network. Please ensure that your app supports IPv6 networks, as IPv6 compatibility is required.
For additional information about supporting IPv6 Networks, please refer to Supporting iPv6 DNS64/NAT64 Networks.
For a networking overview, see About Networking.
//My steps
1. Please follow this instruction to create an ipv6 network:
https://developer.apple.com/library/mac ... -CH213-SW1
2. Your "client" (Iphone, Ipad) connect to ipv6 network just created.
3. client connect to server:
- onConnection is OK.
- but loginRequest send nothing or server can't listen from client.
C++ client API 1.6.4
Re: C++ API v1.6.4 released
Let's keep the two issues (login and Apple rejection) separate.
First of all you have to make the login work. There's no reason why login should not work in IPv6: either you can't connect, or everything should work fine.
So, did you check the server logs after attempting the login? Are you sure there's no error thrown?
First of all you have to make the login work. There's no reason why login should not work in IPv6: either you can't connect, or everything should work fine.
So, did you check the server logs after attempting the login? Are you sure there's no error thrown?
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
Re: C++ API v1.6.4 released
Okay,
I'll speak about problem Connect & Login.
I use device iphone connect IPv4 from normal wifi, event connect & login to server are normal, not problem.
But with that code, I connect iphone to IPv6 (follow the instructions of the apple), I see log in event onConnection is shown and I don't see any log in onLoginSuccess or onLoginFailed is called.
This problem also appear on the version 1.6.3 c++.
I'll speak about problem Connect & Login.
I use device iphone connect IPv4 from normal wifi, event connect & login to server are normal, not problem.
But with that code, I connect iphone to IPv6 (follow the instructions of the apple), I see log in event onConnection is shown and I don't see any log in onLoginSuccess or onLoginFailed is called.
This problem also appear on the version 1.6.3 c++.
Re: C++ API v1.6.4 released
Can you show the portion of the server-side log showing the connection and login? (both IPv4 and IPv6)
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
Re: C++ API v1.6.4 released
By the way, a developer reported a similar issue, but in the end it could make it work: viewtopic.php?f=34&t=18485
Maybe you can send him a message.
Maybe you can send him a message.
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
Who is online
Users browsing this forum: No registered users and 22 guests