Thank you for response
Sergey Mamitko wrote:
Hello,
What is REAL difference from communication point between MINA client
(IoConnector) and server (IoAcceptor)
They are both can send and receive data.
Very simple :
A server accept connections, a client does not.
IoAcceptor contains a lot of logic to manage as many clients as possible.
IoConnector simply try to connect to a server.
Maybe question is what server don't know where data should be send.
Certainly not. A server _always_ knows where to send the data : to a
client which has open a connection.
In any case, the client initiate a communication with a server, and this
is how you distinguish between those two guys.
To take a real life example : you are the client, because you posted this
mail to this mailing list, and I act as a server, replying to you
specifically. (the fact that it's a mailing list and that everybody can
read the post and the response is irrelevant : we are still communicating
together, from the semantic point of view)
Did I replied to your question, or did I missed something ?
--
--
cordialement, regards,
Emmanuel Le'charny
www.iktek.com
directory.apache.org