Book Image

Java Network Programming Recipes [Video]

By : Peter Verhas
Book Image

Java Network Programming Recipes [Video]

By: Peter Verhas

Overview of this book

Java provides numerous classes that have developed over the years to meet evolving networking needs. These range from low-level socket and IP-based approaches to those encapsulated in software services. This practical tutorial provides a complete introduction to developing network programs with Java. We start with the basics of networking and then explore how Java supports the development of clients/servers. You’ll explore how to use Java’s network class library to rapidly and effortlessly accomplish common networking tasks such as writing multithreaded servers, network scalability, implementing application protocols, and filtering clients and client names. Java NIO packages are examined as well as multitasking, building hands-on NIO buffers, scatter and gather, and transferring data to channels and selectors. By the end of this video tutorial, you will have mastered networking fundamentals (and advanced concepts) in Java to ensure you understand (and are capable of building) networked programs.
Table of Contents (4 chapters)
Chapter 3
Implementing Application Protocols
Content Locked
Section 4
Writing an IRC bot
In this video, we will look at the working of IRC bot. - Creating an IRC bot using pircbotx - Create a simple IRC bot that says hello when someone greets it - Log into a server using the bot and also using Lime Chat client and then greet the bot and see if the bot answers to us