mirror of https://github.com/polistern/i2psam
29 lines
444 B
Markdown
29 lines
444 B
Markdown
# i2psam
|
|
|
|
A C++ library for the [SAM v3 API](https://geti2p.net/en/docs/api/samv3).
|
|
|
|
## Development Status
|
|
|
|
The library will require SAM v3.1 server.
|
|
Pre-release (ongoing refactoring work and migration to C++11).
|
|
|
|
## Usage
|
|
|
|
### Library
|
|
|
|
Copy the files `i2psam.cpp` and `i2psam.h` into your codebase, or build the
|
|
library `libi2psam.a`:
|
|
|
|
```
|
|
make
|
|
```
|
|
|
|
### Example
|
|
|
|
See `eepget.cpp` for example TCP client usage.
|
|
Build with:
|
|
|
|
```
|
|
make eepget
|
|
```
|