File: README.md

package info (click to toggle)
ulfius 2.7.15-2.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,856 kB
  • sloc: ansic: 23,025; makefile: 708; sh: 140
file content (28 lines) | stat: -rw-r--r-- 481 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# HTTP Request send examples

Provides some basic http request send examples.

## Compile and run

```bash
$ make
$ ./server
```

On another console, run the following command

```bash
$ ./client
```

Then follow the instructions and observe the results.

## Mail send example

Modify the file `mail.c` values for `MAIL_SERVER`, `MAIL_SENDER` and `MAIL_RECIPIENT` with your own, then compile and run:

```bash
$ ./mail
```

An email should be sent to the `MAIL_RECIPIENT` address.