dev@grizzly.java.net

Re: NIO client support of Grizzly

From: ming qin <mingqin1_at_yahoo.com>
Date: Wed, 23 Sep 2009 13:20:15 -0700 (PDT)

Wang Yu:
  Below link http://www.javanio.info/filearea/demos/ has a demo as "Chat Server Select Demo" might be helpful.
  Also Girzzly 1.5.* has an implementation of NonBlockingTCPIOClient.java



Ming Qin
Cell Phone 858-353-2839

--- On Tue, 9/22/09, Wang Yu <Wang.Yu_at_Sun.COM> wrote:

From: Wang Yu <Wang.Yu_at_Sun.COM>
Subject: NIO client support of Grizzly
To: dev_at_grizzly.dev.java.net
Date: Tuesday, September 22, 2009, 9:35 PM

Hi,
Nonblocking sockets are usually thought of for server-side use.
But there can also be benefits to using one or a few sockets
in nonblocking mode on the client side.

For example, with nonblocking sockets, an management console (by using telnet protocol)
can carry on conversations with many servers simultaneously with a few threads.

Can Grizzly Framework support such programming mode (to be a telnet client of hundreds of servers with only a few threads)?

Thanks and Best Regards
Wang Yu

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
For additional commands, e-mail: dev-help_at_grizzly.dev.java.net