Meaningless Drivel is fun!*
The moose likes Sockets and Internet Protocols and the fly likes trying to get configureBlocking(false);  to work Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "trying to get configureBlocking(false);  to work" Watch "trying to get configureBlocking(false);  to work" New topic
Author

trying to get configureBlocking(false); to work

Tony Evans
Ranch Hand

Joined: Jun 29, 2002
Posts: 573
I have a message producer but the socket is never set if the serverSocketChannel.configureBlocking(false) is set.
In the code below it will never reach the block of code protected by sChannel != null
I know that it takes time to connect but this seems to loop for ever
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: trying to get configureBlocking(false); to work