Search found 67 matches
- 20 Jul 2014, 19:06
- Forum: SFS2X HTML5 / JavaScript API
- Topic: Problem with Secure Websockets (WSS)
- Replies: 12
- Views: 22479
Re: Problem with Secure Websockets (WSS)
Where is the location of https home folder. I put my client in the folder /www/root and get method notifys error null response when go to the link https://myip:wssport/client. If I just go to link https://myip:wssport, it show the { SFS2X Websocket Index Page } where is the location of this page ? I...
- 19 Jul 2014, 03:53
- Forum: SFS2X HTML5 / JavaScript API
- Topic: Problem with Secure Websockets (WSS)
- Replies: 12
- Views: 22479
Problem with Secure Websockets (WSS)
Hi smartfox team, I just update my sever to version 2.9.0 and have a problem with wss. I run test locally with this config : <webSocket> <isActive>true</isActive> <bindAddress>192.168.1.253</bindAddress> <tcpPort>8887</tcpPort> <sslPort>8843</sslPort> <isSSL>false</isSSL> <keyStoreFile>config/keysto...
- 21 May 2014, 08:45
- Forum: SFS2X Java / Android API
- Topic: send UDP request lost
- Replies: 5
- Views: 8818
Re: send UDP request lost
Yes, this happen on the mobile. What's your solution for this problem ?
- 21 May 2014, 02:54
- Forum: SFS2X Java / Android API
- Topic: send UDP request lost
- Replies: 5
- Views: 8818
Re: send UDP request lost
Cause of the error is due to be changed to UDP port: 20 May 2014 | 14:22:09,123 | INFO | SocketReader | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 71, Type: DEFAULT, Logged: No, IP: 117.6.79.157:45974 } on Server port: 9933 <---> 45974 20 May 2014 | 14:22:09,180 | INFO | pool...
- 17 May 2014, 04:34
- Forum: SFS2X Java / Android API
- Topic: send UDP request lost
- Replies: 5
- Views: 8818
send UDP request lost
I have a problem with UDP request, sometime i send UDP request success in client side, but server side don't receive that request, although I try to send a lot of requests then , but the server has not received any request. I have to disconnect and reconnect to send request. What's the problem?
- 15 May 2014, 03:26
- Forum: SFS2X iPhone / iPad / OSX API
- Topic: errorCode value don't exist on LOGIN_ERROR event
- Replies: 4
- Views: 9384
Re: errorCode value don't exist on LOGIN_ERROR event
private void onErrorLogin(BaseEvent event) { int error = Integer.valueOf(event.getArguments().get("errorCode").toString()); if (error == 2) { // do something } else if (error == 3) { // do something } ..... }
- 14 May 2014, 10:22
- Forum: SFS2X iPhone / iPad / OSX API
- Topic: errorCode value don't exist on LOGIN_ERROR event
- Replies: 4
- Views: 9384
errorCode value don't exist on LOGIN_ERROR event
I's used customize login. In the Java client, i can get the value of errorCode from LOGIN_ERROR event, but i can't do that in the iOS client. Why is there this difference?
- 10 May 2014, 11:33
- Forum: SFS2X Java / Android API
- Topic: My client can't receive connnection lost event
- Replies: 2
- Views: 6149
Re: My client can't receive connnection lost event
My test : - start server - open client connect to server ( I posted client code above) - shut down server immediately - client receive disconnect event and start try to reconnect... - open server again and client reconnect successfully - shut down server again, this time client does not receive disc...
- 08 May 2014, 05:50
- Forum: SFS2X Java / Android API
- Topic: My client can't receive connnection lost event
- Replies: 2
- Views: 6149
My client can't receive connnection lost event
Hi smartfoxTeam, I write simple client which connect and try to reconnect when connection lost, but my client just receive this event at the first time server shutdown, from the second time it does not receive connection lost event any more. Here is my code package main; import java.util.LinkedList;...
- 21 Apr 2014, 10:25
- Forum: SFS2X Questions
- Topic: Hot deploy Room Extension while maintaining game state
- Replies: 6
- Views: 8143
Re: Hot deploy Room Extension while maintaining game state
I think you can solve this problem by using the High Resilient Connection system. First step, save the state of all room in these model classes as you said. When new version of server is deployed, all these old room extension will be destroyed and the new one will be created. At this time, disconnec...
- 06 Apr 2014, 09:45
- Forum: SFS2X Java / Android API
- Topic: UDP request issue
- Replies: 5
- Views: 8670
Re: UDP request issue
My program should run well in these conditions large latency network (2G mobile networks). So I'm trying to reduce the latency of UDP communication, as far as I know TCP packets can be delayed because it had installed congestion control mechanism. And the use of ACK is to control UDP packet loss. I ...
- 05 Apr 2014, 15:56
- Forum: SFS2X Java / Android API
- Topic: UDP request issue
- Replies: 5
- Views: 8670
Re: UDP request issue
PPS in my program is 1 package/second (most UDP traffic is used to send ack packets).
- 03 Apr 2014, 04:50
- Forum: SFS2X Java / Android API
- Topic: UDP request issue
- Replies: 5
- Views: 8670
UDP request issue
I'm working with SFS Java API, and are trying to use UDP protocol to speed up communications. In most cases, everything is OK, but sometimes problems arise: Can not send UDP requests to the server, while still sending TCP requests are normal (can still chat). This makes my program stopped, but users...
- 05 Mar 2014, 15:37
- Forum: SFS2X Questions
- Topic: Problem with UDP protocol
- Replies: 5
- Views: 6793
Re: Problem with UDP protocol
Dear Lapo, So these UDP packets were discarded because the source port number is not the same. In my point of view, I see that these packets can reach to the destination as expected, they were not lost. The problem occured when the client connect run on 3G provided by the 2nd largest mobile telecom ...
- 05 Mar 2014, 01:57
- Forum: SFS2X Questions
- Topic: Problem with UDP protocol
- Replies: 5
- Views: 6793
Problem with UDP protocol
Hi smartfoxTeam, when I use UDP protocol in my game server UDP packets were discarded by smartfox : 08:12:40,024 INFO [SocketReader] sessions.DefaultSessionManager - Session created: { Id: 2, Type: DEFAULT, Logged: No, IP: 113.185.15.238:47535 } on Server port: 9933 <---> 47535 08:12:40,154 INFO [po...