Skip to content

Lilja/clientserverstream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

ClientServerStream

Architecture

The server will listen for socket connections on localhost:9989.

Server

Sets up a Server that serves the contents of a file called "islands_in_the_stream.txt".

Client

Client will connect to the server and transform the contents to a bag of words, counting the occurrence of every word and display the words with the most occurrence.

Running the Server

$ cd src/
$ cp ../islands_in_the_stream .
$ javac Server.java && java Server .

Running the Client

$ cd src/
$ javac Client.java && java Client .

About

Java Server-client socket

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published