[xSocket-develop] No onConnect when SSL is enabled
Status: Inactive
Brought to you by:
grro
|
From: digifork <dig...@gm...> - 2009-09-15 20:15:06
|
Hello!
When I create a server with SSL mode enabled, I never get onConnect
callbacks. I created a handler that handles onConnect and onData that
just prints onConnect and onData to System.out. When creating a server
like this:
new Server(0, handler);
The handler prints onConnect and onData. When creating a server like this:
new Server(0, handler, SSLContext.getDefault(), true);
The handler only prints onData.
Is this expected behavior? If so, how do I get notified of new
connections on the handler when SSL is enabled?
Thanks!
-Dan
|