Programming Network Applications in Java

TCP and UDP sockets in Java

What you will learn

Programming basic network applications

Programming client-server applications

TCP Sockets in Java

UDP Sockets in Java

Running multiple clients at the same time (multithreading)


If you have a great idea for an app that needs to communicate through a network, or you’re just beginning to learn Java, or you’re a network engineer looking to implement one of many network protocols, you’ve come to the right place!

In this course, you’ll get the tools to build both client-server and peer-to-peer applications. We’ll cover both the use of TCP and UDP sockets, and I’ll leave it to you to choose which one suits your application better. There are some bonus examples that you can use to practice, and you’re more than welcome to post your questions, ideas or struggles in the Q&A section.

All of the code is thoroughly explained, so you don’t need much prior Java knowledge, but basic understanding of programming in general is a plus.






Installing Eclipse and JDK

Running Eclipse for the first time

TCP Socket in Java

Simple TCP Program (Server)

Simple TCP Program (Client)

Thorough Explanation of the Code for “Simple TCP Program”

Advancing the Simple TCP Program

Bonus: Wireshark Analysis


Simple TCP Program (with multiple threads)

Advancing the Multithreaded TCP Program

Bonus Examples

UDP Socket in Java

Simple UDP Program (Receiver)

Simple UDP Program (Sender)

Thorough Explanation of the Simple UDP Program + Adding a Loop

Simple UDP Chat

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Check Today's 30+ Free Courses on Telegram!