Channel functionality will be added in the alpha
This commit is contained in:
@ -24,9 +24,13 @@
|
||||
#include <string>
|
||||
#include <fstream>
|
||||
|
||||
#define DEFAULT_PORT 1335
|
||||
|
||||
static dht::DhtRunner node;
|
||||
|
||||
void NeoComm_init(const unsigned short port) {
|
||||
void NeoComm_init(unsigned short port) {
|
||||
if(port == 0)
|
||||
port = DEFAULT_PORT;
|
||||
node.run(port, dht::crypto::generateIdentity(), true);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user