TCP/IP Sockets in Java -  Kenneth L. Calvert,  Michael J. Donahoo

TCP/IP Sockets in Java (eBook)

Practical Guide for Programmers
eBook Download: PDF
2001 | 1. Auflage
72 Seiten
Elsevier Science (Verlag)
978-0-08-051848-0 (ISBN)
Systemvoraussetzungen
25,65 inkl. MwSt
  • Download sofort lieferbar
  • Zahlungsarten anzeigen


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.


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. - 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- 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 "e;look into"e; 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 "e;official"e; Java documentation in clarity and explanation.

Front Cover 1
TCP/IP Sockets in Java: Practical Guide for Programmers 4
Copyright Page 5
Contents 8
Preface 10
Chapter 1. Introduction 14
1.1 Networks, Packets, and Protocols 14
1.2 About Addresses 16
1.3 About Names 17
1.4 Clients and Servers 18
1.5 What Is a Socket? 19
1.6 Exercises 19
Chapter 2. Basic Sockets 22
2.1 Socket Addresses 22
2.2 TCP Sockets 25
2.3 UDP Sockets 36
2.4 Exercises 47
Chapter 3. Sending and Receiving Messages 50
3.1 Encoding Information 52
3.2 Composing I/O Streams 55
3.3 Framing and Parsing 55
3.4 Implementing Wire Formats in Java 59
3.5 Wrapping Up 71
3.6 Exercises 72
Chapter 4. Beyond the Basics 74
4.1 Multitasking 74
4.2 Nonblocking I/O 88
4.3 Multiple Recipients 92
4.4 Socket Options 97
4.5 Closing Connections 98
4.6 Applets 104
4.7 Wrapping Up 104
4.8 Exercises 104
Chapter 5. Under the Hood 106
5.1 Buffering and TCP 108
5.2 Buffer Deadlock 110
5.3 Performance Implications 113
5.4 TCP Socket Life Cycle 113
5.5 Demultiplexing Demysti.ed 120
5.6 Exercises 122
Bibliography 124
Index 126

Erscheint lt. Verlag 25.10.2001
Sprache englisch
Themenwelt Informatik Grafik / Design Digitale Bildverarbeitung
Informatik Netzwerke TCP / IP und IPv6
Informatik Programmiersprachen / -werkzeuge Java
Informatik Software Entwicklung User Interfaces (HCI)
Mathematik / Informatik Informatik Web / Internet
Technik Umwelttechnik / Biotechnologie
ISBN-10 0-08-051848-6 / 0080518486
ISBN-13 978-0-08-051848-0 / 9780080518480
Haben Sie eine Frage zum Produkt?
PDFPDF (Adobe DRM)

Kopierschutz: Adobe-DRM
Adobe-DRM ist ein Kopierschutz, der das eBook vor Mißbrauch schützen soll. Dabei wird das eBook bereits beim Download auf Ihre persönliche Adobe-ID autorisiert. Lesen können Sie das eBook dann nur auf den Geräten, welche ebenfalls auf Ihre Adobe-ID registriert sind.
Details zum Adobe-DRM

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen eine Adobe-ID und die Software Adobe Digital Editions (kostenlos). Von der Benutzung der OverDrive Media Console raten wir Ihnen ab. Erfahrungsgemäß treten hier gehäuft Probleme mit dem Adobe DRM auf.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen eine Adobe-ID sowie eine kostenlose App.
Geräteliste und zusätzliche Hinweise

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich
Discover the smart way to polish your digital imagery skills by …

von Gary Bradley

eBook Download (2024)
Packt Publishing (Verlag)
29,99
Explore powerful modeling and character creation techniques used for …

von Lukas Kutschera

eBook Download (2024)
Packt Publishing (Verlag)
43,19
Generate creative images from text prompts and seamlessly integrate …

von Margarida Barreto

eBook Download (2024)
Packt Publishing (Verlag)
32,39