Solved

Java, channel block and non blocking mode

Posted on 2011-03-24
2
656 Views
Last Modified: 2012-06-27
I am reading Java api datagramchannel.java. There is block mode and there is non blocking mode. What does this block mode mean? What does this non-blocking mode mean?
0
Comment
Question by:JianJunShen
2 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 400 total points
ID: 35206419
Blocking means that the stream will block when you attempt to read, halting the reading thread if there are no data to read.
Non-blocking is when an event-driven approach is used: a method is called when new data come in
0
 
LVL 92

Assisted Solution

by:objects
objects earned 100 total points
ID: 35211171
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
count8 challlenge 13 87
computer science syllabus 3 53
bitbucket vs gitbucket 3 35
Checkbox and ListView in Android Layout 4 40
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This video teaches viewers about errors in exception handling.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now