Chapter 12. Using Java's Networking API


Up to this point, the book has covered sockets and network programming in C. The advantages of C-style programming is very clear to operating systems designers—the power without overhead is a real bonus. However, it does not always result in reusable or portable programs.

Alternatively, you could use an object-enabled language and create a set of reusable tools. Java is a great example of excellent reuse and even portability. The whole foundation of Java is to provide two levels of portability—source level and code level. ...

Get Linux® Socket Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.