Programming Network Applications in Java

Programming Network Applications in Java

Programming Network Applications in Java

TCP and UDP sockets in Java

Language: english

Note: 4.4/5 (615 notes) 117,049 students

Instructor(s): Cyber Quince

Last update: 2019-03-20

What you’ll 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)



  • JDK (Java Development Kit) – you’ll learn how to install it in the first lesson
  • Eclipse (code is same for other IDEs) – you’ll learn how to install it in the first lesson
  • Basic Java knowledge would be nice, but not necessary
  • Basic understanding of computer networks (TCP/UDP)



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.


Who this course is for

  • Network engineers
  • Java beginners


Course content

  • Introduction
    • Introduction
    • 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
  • Multithreading
    • 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


Programming Network Applications in JavaProgramming Network Applications in Java

Time remaining or 800 enrolls left


Don’t miss any coupons by joining our Telegram group 

Udemy Coupon Code 100% off | Udemy Free Course | Udemy offer | Course with certificate