Added screenshots.
This commit is contained in:
parent
c323ff5163
commit
ede3382546
@ -18,6 +18,14 @@ Run this server and it will run multiple sudoku generators and keeps track of ma
|
||||
|
||||
### Screenshots
|
||||
Will come when I figured out how to use this project again.
|
||||
#### First version
|
||||
![screenshot](images/sudoku1.png)
|
||||
#### Second version
|
||||
![screenshot](images/sudoku2.png)
|
||||
![screenshot](images/sudoku3.png)
|
||||
#### Last version including the web interface reachable on 9999.
|
||||
![screenshot](images/sudoku4.png)
|
||||
![screenshot](images/sudoku5.png)
|
||||
|
||||
## How to use
|
||||
|
||||
|
BIN
images/sudoku1.png
Normal file
BIN
images/sudoku1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
BIN
images/sudoku2.png
Normal file
BIN
images/sudoku2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
BIN
images/sudoku3.png
Normal file
BIN
images/sudoku3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
BIN
images/sudoku4.png
Normal file
BIN
images/sudoku4.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.8 KiB |
BIN
images/sudoku5.png
Normal file
BIN
images/sudoku5.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 102 KiB |
BIN
sudoku_gen1
BIN
sudoku_gen1
Binary file not shown.
4
web.c
4
web.c
@ -1,4 +1,4 @@
|
||||
#include <rlib.h>
|
||||
#include "rlib.h"
|
||||
#include <pthread.h>
|
||||
|
||||
int request_handler(rhttp_request_t * r) {
|
||||
@ -12,7 +12,7 @@ int request_handler(rhttp_request_t * r) {
|
||||
void * serve_thread(void * arg){
|
||||
int port = *(int*)arg;
|
||||
printf("Serving on port: %d\n", port);
|
||||
rhttp_serve("0.0.0.0", port, 1024, 1, 1, request_handler);
|
||||
rhttp_serve("0.0.0.0", port, 1024, 1, 1, request_handler,NULL);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user