On 10/11/06, Jeroen Brattinga <[EMAIL PROTECTED]> wrote:
The only things I changed from the 1.0.x TCP SumUp example were: - Client: changed SocketConnector and SocketConnectorConfig to DatagramConnector and DatagramConnectorConfig - Client: commented out the connector.setWorkerTimeout(1); line - Client: added the line session.getHandler().sessionOpened(session); right before the session.getCloseFuture().join() line to trigger the AddMessage send loop. - Server: changed SocketAcceptor and SocketAcceptorConfig to DatagramAcceptor and DatagramAcceptorConfig - Server: commented out the cfg.setReuseAddress(true); line
I did exactly same and got it working. The TCP version works every time; the UDP version does not. Any ideas?
From the log you sent, I think you are still using the older version of MINA
because ThreadPoolFilter doesnt' exist anymore in 1.0.x. Let me just upload the snapshot JAR and point you its url: http://people.apache.org/repo/m2-snapshot-repository/org/apache/mina/ Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP key fingerprints: * E167 E6AF E73A CBCE EE41 4A29 544D DE48 FE95 4E7E * B693 628E 6047 4F8F CFA4 455E 1C62 A7DC 0255 ECA6
