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!
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
Watch video Socket Programming with Java NIO - Channels, Selectors, and Buffers online without registration, duration hours minute second in high quality. This video was added by user Will Tollefson 10 May 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,838 once and liked it 92 people.