aspose file tools*
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
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: 576
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: trying to get configureBlocking(false); to work