Learn Java Programming - SocketServer and Socket Part 1

preview_player
Показать описание
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
Рекомендации по теме
Комментарии
Автор

Great video. I have worked with sockets in other languages and this worked out well for me to understand the Java implementation.

altersilentium
Автор

Hey man, i love your videos. Please can u explain StringProperty thing. I cant get my head over this topic

CODINC
Автор

Hey Daniel..superb video man....can you please guide me that how i can use java.net.serversocket to log the request and response of an API

kapzb