Skip to content

LuboDimitrov/Morse-encoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages