mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
62176264d3
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5954 b45a01b8-16f6-495d-af2f-9b41ad6348cc
32 lines
421 B
C++
32 lines
421 B
C++
|
|
#include "bootstrap_fn.h"
|
|
#include <iostream>
|
|
#include <inttypes.h>
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
|
|
std::string bootstrapfile = "bdboot.txt";
|
|
std::string peerId;
|
|
std::string ip;
|
|
uint16_t port;
|
|
|
|
std::cerr << "bssdht: starting up";
|
|
std::cerr << std::endl;
|
|
|
|
bdSingleShotFindPeer(bootstrapfile, peerId, ip, port);
|
|
|
|
std::cerr << "bssdht: finished";
|
|
std::cerr << std::endl;
|
|
|
|
return 1;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|