X-Git-Url: https://git.syn-net.org/debian/?a=blobdiff_plain;f=src%2FsyncClient.h;h=47f81e2f13a6324d3032765c9bbcddcded6a7bf7;hb=bd02a5f6be4815d46524d613f727199ca756c971;hp=bc9d004a518c63475b43d42554a69b769f977799;hpb=bb834fe0ed7a38b724f49b944adb801634eb6194;p=anytun.git diff --git a/src/syncClient.h b/src/syncClient.h index bc9d004..47f81e2 100644 --- a/src/syncClient.h +++ b/src/syncClient.h @@ -11,7 +11,7 @@ * tunneling and relaying of packets of any protocol. * * - * Copyright (C) 2007-2009 Othmar Gsenger, Erwin Nindl, + * Copyright (C) 2007-2009 Othmar Gsenger, Erwin Nindl, * Christian Pointner * * This file is part of Anytun. @@ -37,14 +37,14 @@ class SyncClient { public: - SyncClient(std::string hostname,std::string port); + SyncClient(std::string hostname,std::string port); - void run(); + void run(); private: - void readAndProcess(SyncTcpConnection::proto::socket & socket); - void readExactly(SyncTcpConnection::proto::socket & socket,size_t toread, std::iostream &); - std::string hostname_; - std::string port_; + void readAndProcess(SyncTcpConnection::proto::socket& socket); + void readExactly(SyncTcpConnection::proto::socket& socket,size_t toread, std::iostream&); + std::string hostname_; + std::string port_; };