Learn Java Programming - SocketServer and Socket Part 1

Published: 31 January 2017
on channel: Daniel Ross
4,869
55

This tutorial will continue expanding on concepts from my ServerSocket & Socket Introduction. I am going to create a server socket prime number calculator application that communicates over port 4141. The server socket will listen for the incoming client connections to provide a number, then the server will respond back with PRIME, COMPOSITE, or Invalid number. In addition to that I am going to throw in a little bonus knowledge on how part of the underlying Transmission Control Protocol/Internet Protocol (TCP/IP) actually functions. TCP was created way back in the 70's and has slowly evolved into the dominant method of transferring data. There are three things that I am going to go over in this video:

SYN - synchronize
ACK - acknowledge
FINAL - final

They form the basis for both establishing socket communications and terminating socket communications


On this page of the site you can watch the video online Learn Java Programming - SocketServer and Socket Part 1 with a duration of hours minute second in good quality, which was uploaded by the user Daniel Ross 31 January 2017, share the link with friends and acquaintances, this video has already been watched 4,869 times on youtube and it was liked by 55 viewers. Enjoy your viewing!