Hi everybody,


I've implemented a program that defines a simple TCP/IP communication based
on the MINA framework to connect to an existing TCP/IP server, which is not
controlled by my self.

The process is very simple:

1. I create a connection to this server using the MINA concept

2. I send my request

3. The server answers to my request and closes the connection

4. When I tried to read the response using my custom decoder, I got the
message "connection closed by a 3rd party....".

The method "messageReceived(IoSession session_p, Object message_p) " in my
Handler has never been called !



Just for information, I've implemented the same process using the classical
Socket mechanism and I succeeded to get the request reply without any change
on the server side.

I think that the problem comes from the client side and maybe from the MINA
framework.



Can someone help me?



Thanks



Hamid

Reply via email to