I have read the Mina online tut and got my own simple client-server setup. It's pretty much a copy of the echo example.

When I run the server, it exits the main method and never spends any time listening. If I put in infinite loop at the end of the main method and start the client, we can see that the setup int the server main() was correct.

I tried running the examples and I get the same result: setup the server, print out listening port, exit.

Am I supposed to create a new thread and call some method which blocks or 
something?

Very confused
Thanks
Marc

Reply via email to