A Tutorial on Java Socket Programming and Source Code Analysis
eBook - PDF
No longer available |Learn more

A Tutorial on Java Socket Programming and Source Code Analysis

Complete Java Source Code Examples and Practice Exercises: Supplement for Computer Networks & Software Security Courses

Natarajan Meghanathan

Share book
  1. 80 pages
  2. English
  3. PDF
  4. Available on iOS & Android
eBook - PDF
No longer available |Learn more

A Tutorial on Java Socket Programming and Source Code Analysis

Complete Java Source Code Examples and Practice Exercises: Supplement for Computer Networks & Software Security Courses

Natarajan Meghanathan

Book details
Table of contents
Citations

About This Book

The book is organized into two modules: In the first module, we present a tutorial on socket programming in Java, illustrating complete examples for simplex and duplex communications with both connectionless datagram and connection-oriented stream-mode sockets. In addition, this module explains in detail, with examples, the differences between a concurrent server and iterative server and the use of the Multicast socket API. In the second module, we present the source code analysis of a file reader connection-oriented server socket Java program, to illustrate the identification, impact analysis and solutions to remove the following important software security vulnerabilities: (1) Resource Injection, (2) Path Manipulation, (3) System Information Leak, (4) Denial of Service and (5) Unreleased Resource vulnerabilities. We analyze the reason for these vulnerabilities to occur in the program, discuss the impact of leaving them unattended, and propose solutions to remove each of these vulnerabilities from the program. The proposed solutions are very generic in nature, and can be suitably modified to correct any such vulnerabilities in software developed in any other programming language.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is A Tutorial on Java Socket Programming and Source Code Analysis an online PDF/ePUB?
Yes, you can access A Tutorial on Java Socket Programming and Source Code Analysis by Natarajan Meghanathan in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Networking. We have over one million books available in our catalogue for you to explore.

Information

Table of contents