Seems found one bug, if it is not, pls correct me:)
I used getnumber to get double from client. Since there is only double parameter available and my original intension is transfer long. So I did convert before put, like below:
client: new hashtable, then
Hashtable param = new Hashtable();
long test = 0x0a00000100000001
param["test"] = (double)test;
long test =(long)request.getNumber("test");
what I got in server is 0x0a00000100000180
according to IEEE, since the double value is lower than MAX value of long, it shoud be exactly same with input value, without any lost.
This is my question.
Post here all your questions related with SmartFoxServer .Net/Unity3D API
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests