Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 Java 8 in Action this week in the Java 8 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: 556
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
 
Similar Threads
object serialization to file
servlet applet object io streams
Why this stand alone app cannot communicate with servlet
servlet to servlet and back??
Why this stand alone app cannot communicate with servlet