gitignore update

This commit is contained in:
cozis
2023-10-31 16:12:41 +01:00
parent b495e53891
commit 5b986a6537
2 changed files with 5 additions and 11 deletions
+2 -10
View File
@@ -1,10 +1,2 @@
*.pcapng
loop2
loop2.exe
3p/lib/*
3p/src/*
3p/include/*
build
*.gcov
*.gcno
*.gcda
out/*
obj/*
+3 -1
View File
@@ -18,7 +18,9 @@ make
You'll need both `make` and `cmake` for it to work. If all goes well, you'll find the library files `libtuntap.a`, `libmicrotcp.a` and header files `tuntap.h`, `tuntap-export.h`, `microtcp.h` in `out/`.
## Usage
MicroTCP's uses the usual socket interface any network programmer is familiar with, the main difference being you need to esplicitly instanciate the network stack and pass its handle around. Without further ado, here's a simple echo server that shows the basic usage:
MicroTCP's uses the usual socket interface any network programmer is familiar with, the main difference being you need to explicitly instanciate the network stack and pass its handle around.
Here's a simple echo server that shows the basic usage:
```c
#include <microtcp.h>