Hi, Yes I do something similar to handle legacy client --> mina connections. The socketconnecor is required to go from mina --> legacy server, well at least that is what I assume based on looking at examples and apis. I'm using mina to act as a proxy server.
S.D. --- Enrique Rodriguez <[EMAIL PROTECTED]> wrote: > Samuel Doyle wrote: > > Alright I assume this is how you do it. Can > someone > > confirm? > > > > IoConnector connector = new SocketConnector() > > BaseIoConnectorConfig connectorConfig = new > > SocketConnectorConfig(); > > > > connectorConfig.setConnectTimeout( connectTimeOut > ); > > connector.connect( host, sessionHandler, > > connectorConfig ); > > I've been doing: > > private IoAcceptor acceptor; > private IoHandler handler; > > handler = new KerberosProtocolHandler(); > acceptor.bind( new InetSocketAddress( port ), > handler ); > > Enrique >
