Java Network Sockets + Virtual Threads = Cool!

Published: 26 April 2024
on channel: Will Tollefson
1,695
113

In this video we'll cover SOCKET PROGRAMMING in JAVA. We'll touch on both SINGLE and MULTITHREADED server applications that have server sockets waiting for client connections. Java sockets are built upon TCP, but the API also provides DatagramSocket, a UDP based implementation sometimes used in particular applications. Also be sure to stick around till near the end where we talk about the Java NIO API and some benefits/trade-offs there.

I'm Will Tollefson, a guy who loves to NEVER STOP LEARNING and teach others what I've learned. If you're enjoying the content, please LIKE, SUBSCRIBE, and SHARE!

VIDEO CHAPTERS:
0:00 What's a Network Socket?
1:17 Writing a Basic Client and Server
13:20 A Working Implementation
14:27 Writing an Echo Server
19:22 Limitations of Single Client Connections
21:06 Multithreaded Server with Virtual Threads
24:59 Java NIO APIs


Watch video Java Network Sockets + Virtual Threads = Cool! online without registration, duration hours minute second in high quality. This video was added by user Will Tollefson 26 April 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,695 once and liked it 113 people.