Channel functionality will be added in the alpha

This commit is contained in:
nortega committed 2017-09-20 15:14:28 +02:00
1 parent d706702a4e
commit 0337991c0b
3 files changed
+21 -6

No files matched your search

+5 -1
View File
@@ -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);
}