summaryrefslogtreecommitdiff
path: root/syncSocket.cpp
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2007-12-12 16:21:51 +0000
committerOthmar Gsenger <otti@anytun.org>2007-12-12 16:21:51 +0000
commit4eb313c0b0e5eea2a453a3d551889f614fd2949e (patch)
tree25c6a61f6365c19b8e6752245a98536aed29827c /syncSocket.cpp
parentadded full sync support (max 2 anycast servers) (diff)
added buffer size
Diffstat (limited to 'syncSocket.cpp')
-rw-r--r--syncSocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/syncSocket.cpp b/syncSocket.cpp
index 5db5fbd..44616fd 100644
--- a/syncSocket.cpp
+++ b/syncSocket.cpp
@@ -68,7 +68,7 @@ void SyncSocket::OnLine(const std::string& line)
SeqWindow * seq= new SeqWindow(0);
seq_nr_t seq_nr_=0;
KeyDerivation * kd = new KeyDerivation;
- kd->init(::Buffer(), ::Buffer());
+ kd->init(::Buffer(20), ::Buffer(14));
ConnectionParam conn ( (*kd), (*seq), seq_nr_, "", 0);
ia >> conn;
std::cout << "sync connection remote host " << conn.remote_host_ << ":" << conn.remote_port_ << std::endl;