Actions for TCP
TCP/IP sockets in Java [electronic resource] : practical guide for programmers / Kenneth L. Calvert, Michael J. Donahoo
- Author
- Calvert, Kenneth L.
- Published
- Amsterdam ; Boston : Elsevier/Morgan Kaufmann, [2008]
- Copyright Date
- ©2008
- Edition
- 2nd ed.
- Physical Description
- xiv, 177 pages : illustrations ; 24 cm.
- Additional Creators
- Donahoo, Michael J.
Access Online
- Series
- Restrictions on Access
- License restrictions may limit access.
- Contents
- Machine generated contents note: 1.Introduction -- 1.1.Networks, Packets, and Protocols -- 1.2.About Addresses -- 1.3.About Names -- 1.4.Clients and Servers -- 1.5.What Is a Socket? -- 1.6.Exercises -- 2.Basic Sockets -- 2.1.Socket Addresses -- 2.2.TCP Sockets -- 2.3.UDP Sockets -- 2.4.Exercises -- 3.Sending and Receiving Data -- 3.1.Encoding Information -- 3.2.Composing I/O Streams -- 3.3.Framing and Parsing -- 3.4.Java-Specific Encodings -- 3.5.Constructing and Parsing Protocol Messages -- 3.6.Wrapping Up -- 3.7.Exercises -- 4.Beyond the Basics -- 4.1.Multitasking -- 4.2.Blocking and Timeouts -- 4.3.Multiple Recipients -- 4.4.Controlling Default Behaviors -- 4.5.Closing Connections -- 4.6.Applets -- 4.7.Wrapping Up -- 4.8.Exercises -- 5.NIO -- 5.1.Why Do We Need This? -- 5.2.Using Channels with Buffers -- 5.3.Selectors -- 5.4.Buffers in Detail -- 5.5.Stream (TCP) Channels in Detail -- 5.6.Selectors in Detail -- 5.7.Datagram (OOP) Channels -- 5.8.Exercises -- 6.Under the Hood -- 6.1.Buffering and TCP -- 6.2.Deadlock Danger -- 6.3.Performance Implications -- 6.4.TCP Socket life Cycle -- 6.5.Demultiplexing Demystified -- 6.6.Exercises.
- Summary
- "Taking into account Java's categorical popularity as well as those recent and electrifying innovations in both its form and functions, this new edition of TCP/IP Sockets in Java covers the most current iterations of the language (versions 1.5-1.7), as well as several new and important abstractions, including NetworkInterface, InterfaceAddress, Inet4/6Address, SocketAddress/InetSocketAddress, and Executor. Nearly all Internet applications now use sockets in Java to converse, and this book's focused, tutorial-based approach enables the reader to swiftly master the tasks and techniques essential to virtually all computer communication." --Book Jacket.
- Subject(s)
- Genre(s)
- ISBN
- 9780123742551 (pbk. : alk. paper)
0123742552 (pbk. : alk. paper) - Bibliography Note
- Includes bibliographical references (pages 167-168) and index.
View MARC record | catkey: 7898193