Skip to content

Yoy017/guess_the_number

Repository files navigation

Java TCP programming - Practical content template

This repository contains the template to the Java TCP programming practical content.

Get the application

First you need to pull the image from the GitHub Container Registry.

docker pull ghcr.io/yoy017/guess-the-number:latest

Then create a network.

# Create a Docker network
docker network create heig-vd-dai

# List of Docker networks
docker network list

# Delete a Docker network
docker network rm <name of the Docker network>

You will be able to run the server side of the application with this command

docker run --rm -it --network <name of your network> --name <name of the server> guess-the-number server

Then you can start in a new terminal a new client session with the command

docker run --rm -it --network <name of your network> --name <name of the server> guess-the-number client --host the-server

Enjoy !

About

Practical content from the chapter 12-java-tcp-programming from DAI course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages