mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 00:19:25 -05:00
.. | ||
dgramc.c | ||
dgrams.c | ||
namelookup.c | ||
README.md | ||
samtest.c | ||
streamc.c | ||
streamcs.c | ||
streams.c | ||
streamss.c |
Examples
These examples show various ways of using libsam3 to enable i2p in your application, and are also useful in other ways. If you implement an i2p application library in another language, making variants basic tools wouldn't be the worst way to make sure that it works.
building
Once you have build the library in the root of this repository by running make all, you can build all these examples at once by running
make
in this directory. I think it makes things easier to experiment with quickly.
namelookup
Namelookup uses the SAM API to find the base64 destination of an readable "jump" or base32 i2p address. You can use it like this:
./lookup i2p-projekt.i2p