mina-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pietro Guerrieri <p.guerri...@gmail.com>
Subject Re: multi incoming tcp
Date Tue, 26 May 2009 13:40:44 GMT
i have mina server that read tcp message.

to this server there are two clients that send messages on the same port

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

in step1 directory there is:
ImageServer.java listening on port 33789
ImageServerIoHandler.java that receive message from one client

suppose there are two clients that send image to server

how i can receive all images.. from client1 and client2 on the same port
(33789) !?!?!?

On Tue, May 26, 2009 at 3:14 PM, Emmanuel Lecharny <elecharny@apache.org>wrote:

> Pietro Guerrieri wrote:
>> 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?
> the handler *will* receive every messages sent by the client, assuming it's
> listening on the address the server is listening too, and assuming the
> client is connecting to this address . This is the base functionality
> offered by MINA !
> I'm not sure that your question was precise enough for us to provide any
> kind of hlep... Can you tell us what's your problem exactly ?
> --
> --
> cordialement, regards,
> Emmanuel L├ęcharny
> www.iktek.com
> directory.apache.org

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message