Connection stops at handshake when trying to connect
Posted: 11 Mar 2011, 17:18
Hello all;
I am writing a c# console application using unity api. When i try to connect to the smartfox, system hangs up at the handshake.
Log at the smartfox;
11 Mar 2011 17:57:31,812 INFO [com.smartfoxserver.v2.controllers.SystemController-1] v2.controllers.SystemController - {IN}: Handshake
11 Mar 2011 17:58:00,384 INFO [Scheduler1-thread-1] bitswarm.sessions.DefaultSessionManager - Session removed: { Id: 25, Type: DEFAULT, Logged: No, IP: 127.0.0.1:39268 }
Lof at the c# console;
[SFS -DEBUG] Handshake respınse : tk => smthingsmthing, ct => 1024
[SFS - ERROR] TCPSocketLayer: Connection closed by the remote side
So after a while after the handshake smartfox closes the connection and onConnection event is never triggered.
I managed to connect in Smartfox 1.6 the same way.( I've changed my code according to Smartfox2x of course. )
Anybody has an idea why this is happening?
Any help is appreciated.
Thank you.
I am writing a c# console application using unity api. When i try to connect to the smartfox, system hangs up at the handshake.
Log at the smartfox;
11 Mar 2011 17:57:31,812 INFO [com.smartfoxserver.v2.controllers.SystemController-1] v2.controllers.SystemController - {IN}: Handshake
11 Mar 2011 17:58:00,384 INFO [Scheduler1-thread-1] bitswarm.sessions.DefaultSessionManager - Session removed: { Id: 25, Type: DEFAULT, Logged: No, IP: 127.0.0.1:39268 }
Lof at the c# console;
[SFS -DEBUG] Handshake respınse : tk => smthingsmthing, ct => 1024
[SFS - ERROR] TCPSocketLayer: Connection closed by the remote side
So after a while after the handshake smartfox closes the connection and onConnection event is never triggered.
I managed to connect in Smartfox 1.6 the same way.( I've changed my code according to Smartfox2x of course. )
Anybody has an idea why this is happening?
Any help is appreciated.
Thank you.