Last little clue…
If I run my client, it appears to run its connectToHost() command in quick order, though there is no indication whatsoever in the Server’s log that anything happened.
However, if I then kill the client app, there are log entries in the server’s log which indicate undeniably that it knew of the client’s connection in some manner:
Nov 19, 2011 1:48:05 PM com.jme3.network.kernel.tcp.SelectorKernel$SelectorThread connect
INFO: Hosting TCP connection:0.0.0.0/0.0.0.0:52500.
Nov 19, 2011 1:48:05 PM com.jme3.network.kernel.tcp.SelectorKernel$SelectorThread run
INFO: Kernel started for connection:0.0.0.0/0.0.0.0:52500.
Nov 19, 2011 1:48:05 PM com.jme3.network.kernel.udp.UdpKernel$HostThread connect
INFO: Hosting UDP connection:0.0.0.0/0.0.0.0:52500.
Nov 19, 2011 1:48:05 PM com.jme3.network.kernel.udp.UdpKernel$HostThread run
INFO: Kernel started for connection:0.0.0.0/0.0.0.0:52500.
THIS IS WHERE THE CONNECTION ATTEMPT OCCURS.
Nothing is output.
When the client process is killed, however, the following additional lines spill out:
Nov 19, 2011 1:49:01 PM com.jme3.network.kernel.tcp.SelectorKernel$SelectorThread cancel
INFO: Closing channel endpoint:NioEndpoint[1, java.nio.channels.SocketChannel[connected local=/192.168.1.101:52500 remote=/192.168.1.101:50502]].
Nov 19, 2011 1:49:01 PM com.jme3.network.base.DefaultServer connectionClosed
INFO: Connection closed:NioEndpoint[1, java.nio.channels.SocketChannel[closed]].
Could this be an issue with GameName/client version number?
I’ll note that NetworkClient provides no means whatsoever to set the version number, as does Client, but neither did I see that the network code actually checks the game name or version number as the comments indicate. The default version number in some places is a playful 42, but may be in my NetworkClient a java-standard 0 which I cannot alter.
tone