Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.11 KB

README.md

File metadata and controls

37 lines (27 loc) · 1.11 KB

Morse-encoder

Morse encoder based on the client-server model using TCP sockets

Instructions

1. Clone this repository

git clone https://github.com/LuboDimitrov/Morse-translator.git

2. Make sure you have gcc 8.1.0 or higher installed. Do so by typing this in your console

gcc -v

3. Open the terminal from the folder you have the files in

4. Compile the files by typing the following commands.

gcc ClientMorse.c -o ClientMorse.exe -lwsock32
gcc ServerMorse.c -o ServerMorse.exe -lwsock32

Now you should see two executable files have been generated.

5. To run them just type their names on the command prompt and hit enter

First start the server typing ServerMorse on the command propmpt

6. Open another terminal and run the client

Type ClientMorse on the command prompt and hit enter

7. Now type the message you want to endcode

executionexample

8. Run the client again if you want to encode another message. You can run it in the existing terminal