Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

java nio usefull for...  RSS feed

 
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

i need to create a server and a client

on the server, some image and text will be created, the client need to receive this information

are there any advantage to use nio for this program?

thanks
 
Bartender
Posts: 9492
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java NIO introduced functionality not available in the java.io library (this article describes many of these new features). The java.io classes were reimplemented using NIO so there is little performance difference between the two. Unless you need some functionality not available in java.io/java.net like nonblocking socket IO, you'll do fine without NIO.
 
Why does your bag say "bombs"? The reason I ask is that my bag says "tiny ads" and it has stuff like this:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!