mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lécharny <elecha...@gmail.com>
Subject Re: NIO Client Sockets
Date Mon, 07 Oct 2013 12:37:56 GMT
Le 10/7/13 2:00 PM, kishore a écrit :
> Hi,
> I need to open 1 thousand concurrent tcp/ip connections to the remote
> devices and download some data.This job must be scheduled every 15
> minutes.The data size will be nearly 1 to 2MB. Can you please help me with
> an example of how to open concurrent socket connections to the client.

If you connect to a client, it's not anymore a client, it's a server.

In any case, use a NioConnector for that, you can open as many
connection as you want with one single NioConnector.

Emmanuel Lécharny

View raw message