https://github.com/linarcx/embedded_programming
embedded_programming challenge
https://github.com/linarcx/embedded_programming
c client-server git linux multithreading socket-programming
Last synced: about 1 year ago
JSON representation
embedded_programming challenge
- Host: GitHub
- URL: https://github.com/linarcx/embedded_programming
- Owner: LinArcX
- License: gpl-3.0
- Archived: true
- Created: 2022-03-19T15:50:04.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-05T18:56:23.000Z (about 4 years ago)
- Last Synced: 2025-03-02T05:15:22.697Z (over 1 year ago)
- Topics: c, client-server, git, linux, multithreading, socket-programming
- Language: C
- Homepage:
- Size: 43 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# embedded_programming
A client/server program that uses socket-programming to send/receive message between each other.
# Tools
- OS: Void linux
- Compiler: gcc
- Editor: neovim
# Build
This program consists of two parts:
1. server: written in c.
2. client: written in python.
To build the server, you should first install these dependencies:
- make
- cmake
- pkg-config
- sqlite-devel
- [iniparser](https://github.com/ndevilla/iniparser)
Then clone and build:
```
git clone https://github.com/LinArcX/embedded_programming
cd embedded_programming
mkdir -p output/cmake output/debug output/release
cd output/cmake/
cmake -DCMAKE_BUILD_TYPE=Release ../..
make -j8
```
And finally run it:
`../release/myserver`
# Test
There is a python script file that you can use as client part:
`python3 test/client.py`
## License
