multi incoming tcp

2009-05-26 Thread Pietro Guerrieri
Hi, i have a TCP server with bind on 55000 port and two (or more) client that send message on the same socket (port). How i can have a handler that receive all incoming client tcp message? thank you

Re: multi incoming tcp

2009-05-26 Thread Pietro Guerrieri
i have mina server that read tcp message. to this server there are two clients that send messages on the same port (55000) just a moment, i can explain my problem with an example in mina-2.0.0-M4 package there's the imagine tutorial at this

Re: multi incoming tcp

2009-05-26 Thread Emmanuel Lecharny
Pietro Guerrieri wrote: i have mina server that read tcp message. to this server there are two clients that send messages on the same port (55000) just a moment, i can explain my problem with an example in mina-2.0.0-M4 package there's the imagine tutorial at this

Re: multi incoming tcp

2009-05-26 Thread Andres Martinez Quijano
You can have an application that listens on port 33789 that can handle several (potentially thousands) of clients connecting to it. You don't need to worry about how, the operating system will take care of it. MINA is an excellent choice for this, and will let you handle all the clients (in MINA

ExecutorFilter Per Session Behavior

2009-05-26 Thread Christopher Popp
Hello, I have an application making use of Mina 2.0.0 M5. I have an executor filter in my filter chain, after everything but the handler. Based on everything I read and saw in the forums, I'm expecting that it would make use of the OrderedThreadPoolExecutor.  Am I correct that the benefit of

Re: ExecutorFilter Per Session Behavior

2009-05-26 Thread Emmanuel Lecharny
Christopher Popp wrote: Hello, I have an application making use of Mina 2.0.0 M5. I have an executor filter in my filter chain, after everything but the handler. Based on everything I read and saw in the forums, I'm expecting that it would make use of the OrderedThreadPoolExecutor. Am I

RE: memory leak? -- help needed

2009-05-26 Thread Yongxing Wang
Sorry to get to you guys a little late on this issue, as it is not always easy to reproduce the problem. During this extensive performance testing and close monitoring, one thing I can tell for sure is that under heavy load, the memory pattern looks so much nicer if we get rid of the finalize