Skip to Main Content
Operating Systems: Concurrent and Distributed Software Design
book

Operating Systems: Concurrent and Distributed Software Design

by Jean Bacon, Tim Harris
March 2003
Intermediate to advanced content levelIntermediate to advanced
912 pages
27h 17m
English
Pearson Business
Content preview from Operating Systems: Concurrent and Distributed Software Design

16.5. Java's sockets and streams

In this section we give an example of client–server programming in Java over connection-oriented communication. We see how the java.net package supports the development of such systems; the full detail of connection management, as described above in Section 16.4, is done on behalf of the programmer. The programmer is aware of the socket abstraction but is shielded from some of the detail of socket programming.

Figure 16.7 shows a client and server program (application) executing on two different host machines, communicating with each other via layers of standard networking software and a physical connection. Note that for each host machine, the other machine will be considered a remote machine (or remote host). ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Principles of Concurrent and Distributed Programming, Second Edition

Principles of Concurrent and Distributed Programming, Second Edition

M. Ben-Ari
Operating Systems in Depth

Operating Systems in Depth

Thomas W. Doeppner

Publisher Resources

ISBN: 0321117891Purchase book