Try the java.nio package in J2SE 1.4.  It sounds like exactly what you are
looking for. Look here for more info:
        http://java.sun.com/j2se/1.4/docs/guide/nio/

-- Roger

--- Luc Foisy <[EMAIL PROTECTED]> wrote:
> 
> If I have a ServerSocket set up to pool several Socket connections, I could
> set up a thread to check for stuff in each Sockets InputStream
> 
> Is there some way I can set up some kind of listener to catch if something is
> pushed into the InputStream then do something as opposed to the thread
> pulling it
> 
> I just don't want to have something constantly checking each input
> 
> Luc
> 
> To change your membership options, refer to:
> http://www.sys-con.com/java/list.cfm


=====
-- Roger Glover

__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm

Reply via email to