E-Book, Englisch, 72 Seiten, Web PDF
Calvert / Donahoo TCP/IP Sockets in Java
1. Auflage 2001
ISBN: 978-0-08-051848-0
Verlag: Elsevier Science & Techn.
Format: PDF
Kopierschutz: 1 - PDF Watermark
Practical Guide for Programmers
E-Book, Englisch, 72 Seiten, Web PDF
ISBN: 978-0-08-051848-0
Verlag: Elsevier Science & Techn.
Format: PDF
Kopierschutz: 1 - PDF Watermark
Most Internet applications use sockets to implement network communication protocols. TCP/IP Sockets in Java: Practical Guide for Programmers, with its focused, tutorial-based coverage, helps you master the tasks and techniques essential to virtually all client-server projects using sockets in Java. Later chapters teach you to implement more specialized functionality, incisive discussions of programming constructs and protocol implementations equip you with a deeper understanding that is invaluable for meeting future challenges. No other resource presents so concisely or so effectively the exact material you need to get up and running with Java sockets programming right away.
For those who program using the C language, be sure to check out this book's companion, TCP/IP Sockets in C: Practical Guide for Programmers.
For example code from the text, sample programming exercises, Powerpoint slides, and more, click on the grey Companion Site button to the right.
*Concise, no-nonsense explanations of issues often troublesome for students, including message construction and parsing, underlying mechanisms and Java I/O
*Comprehensive example-based coverage of the most important TCP/IP techniques-including iterative and threaded servers, timeouts and asynchronous message processing
*Includes a detailed, easy-to-use reference to the relevant JAVA class libraries
*A companion Web site provides online code for all the example programs given in the book
*Provides a guide to common errors and a reference offering detailed documentation of the sockets interface
*Perfect for a practitioner who may even want just to look into this technology.
*Provides tutorial-based instuction in key sockets programming techniques, focusing exclusively on Jva and complemented by example code.
*Covers challenging sockets programming issues: message construction and parsing, underlying TCP/IP protocol mechanisms, Java I/O, iterate and threaded servers, and timeouts.
*Includes references to the relevant Java class libraries that often go beyond the official Java documentation in clarity and explanation.
*Provides code for all example programs, along with additional exercises, via companion Web site.
Autoren/Hrsg.
Weitere Infos & Material
1;Front Cover;1
2;TCP/IP Sockets in Java: Practical Guide for Programmers;4
3;Copyright Page;5
4;Contents;8
5;Preface;10
6;Chapter 1. Introduction;14
6.1;1.1 Networks, Packets, and Protocols;14
6.2;1.2 About Addresses;16
6.3;1.3 About Names;17
6.4;1.4 Clients and Servers;18
6.5;1.5 What Is a Socket?;19
6.6;1.6 Exercises;19
7;Chapter 2. Basic Sockets;22
7.1;2.1 Socket Addresses;22
7.2;2.2 TCP Sockets;25
7.3;2.3 UDP Sockets;36
7.4;2.4 Exercises;47
8;Chapter 3. Sending and Receiving Messages;50
8.1;3.1 Encoding Information;52
8.2;3.2 Composing I/O Streams;55
8.3;3.3 Framing and Parsing;55
8.4;3.4 Implementing Wire Formats in Java;59
8.5;3.5 Wrapping Up;71
8.6;3.6 Exercises;72
9;Chapter 4. Beyond the Basics;74
9.1;4.1 Multitasking;74
9.2;4.2 Nonblocking I/O;88
9.3;4.3 Multiple Recipients;92
9.4;4.4 Socket Options;97
9.5;4.5 Closing Connections;98
9.6;4.6 Applets;104
9.7;4.7 Wrapping Up;104
9.8;4.8 Exercises;104
10;Chapter 5. Under the Hood;106
10.1;5.1 Buffering and TCP;108
10.2;5.2 Buffer Deadlock;110
10.3;5.3 Performance Implications;113
10.4;5.4 TCP Socket Life Cycle;113
10.5;5.5 Demultiplexing Demysti.ed;120
10.6;5.6 Exercises;122
11;Bibliography;124
12;Index;126




