Skip to content

whoiam-bat/java-socket-programming-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

Client-Server Socket chat

About:

JavaFX apllication with two modules: client and server, which communicate using Sockets over TCP/IP network.
TCP/IP is connection-oriented, meaning an exclusive connection must first be established between the Client and Server for communication to take place.
There is ServerSocket on Server side that waits for connection request from Client.
And Socket on Client Side that sends connection request.
When connection is established, both sides can communicate over specified port in application.properties file.

How to run?

  1. Clone/extract from archive this repo on your PC.
  2. Change in both projects src/main/resources/application.properties files with your custom data (if you wish).
    Hint 1: To run application correctly don't change client.host property in src/main/resources/application.properties
    Hint 2: Property server.port in server app and client.port in client app must be the same.
  3. Run Server firstly and Client then.

About

Client-Server demo app with Socket Programming

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages