filmov
tv
Socket Programming with Java NIO - Channels, Selectors, and Buffers

Показать описание
In this video we'll cover SOCKET PROGRAMMING using the JAVA NIO library. We'll make an example client/server aplication where the server only requires one thread to handle multiple client connections! In the process we'll touch on CHANNELS, SELECTORS, and BUFFERS, and why byte order and ENDIANNESS matter in computer networking.Network byte order is BIG ENDIAN, but you should always confirm byte order when implementing a networking protocol.
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!
Code on GitHub:
VIDEO CHAPTERS:
0:00 Why Java NIO Sockets?
1:34 Channels and Selectors in the Server
3:33 Configuring the Selector
8:40 Client Connections
14:32 Implementing the Client
17:37 ByteBuffer Tips and Tricks
28:22 Making an Echo Server
31:18 Endianness, Big vs Little Endian
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!
Code on GitHub:
VIDEO CHAPTERS:
0:00 Why Java NIO Sockets?
1:34 Channels and Selectors in the Server
3:33 Configuring the Selector
8:40 Client Connections
14:32 Implementing the Client
17:37 ByteBuffer Tips and Tricks
28:22 Making an Echo Server
31:18 Endianness, Big vs Little Endian
Socket Programming with Java NIO - Channels, Selectors, and Buffers
Java Network Programming Recipes: Java NIO Structure| packtpub.com
Java NIO - Non-blocking file transfer through SocketChannel
Java Tutorial For Beginners | NIO In Java | Java NIO Tutorial For Beginners | SimpliCode
Java Network Sockets + Virtual Threads = Cool!
Java NIO - Transfer Object using SocketChannel
Java NIO - Object transferring in non-blocking
Java Sockets - Sending Serialized Objects/Classes Networking
Java NIO - Transfer data using DatagramChannel
java nio client server programming tutorial 10 important steps
Java NIO - Transfer large file through SocketChannel
💻 Networking in context of Java NIO - Dmytro Shcherbatiuk
What is a ServerSocket?
Socket Programming in Java | Client Server Architecture | Java Networking | Edureka
Non-blocking I/O and how Node uses it, in friendly terms: blocking vs async IO, CPU vs IO
nio.2 tutorial java7
02 - Java I/O, NIO et NIO 2
Indroduction to Java NIO and non-blocking sockets
4/7 - Using Java nio
Java NIO - ByteBuffer.clear() demo
nio chat server
advanced socket programming and network protocols in java
Java NIO | Reading from and Writing to a file in Java | Transient Java Keyword | Geekific
Java NIO - Create a ByteBuffer From a String
Комментарии