summaryrefslogtreecommitdiff
path: root/lib/psocksxx/tcpnsockstream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/psocksxx/tcpnsockstream.cpp')
-rw-r--r--lib/psocksxx/tcpnsockstream.cpp36
1 files changed, 36 insertions, 0 deletions
diff --git a/lib/psocksxx/tcpnsockstream.cpp b/lib/psocksxx/tcpnsockstream.cpp
new file mode 100644
index 0000000..461a649
--- /dev/null
+++ b/lib/psocksxx/tcpnsockstream.cpp
@@ -0,0 +1,36 @@
+/*
+* psocksxx - A C++ wrapper for POSIX sockets
+* Copyright (C) 2013 Uditha Atukorala
+*
+* This software library is free software; you can redistribute it and/or modify
+* it under the terms of the GNU Lesser General Public License as published by
+* the Free Software Foundation; either version 3 of the License, or
+* (at your option) any later version.
+*
+* This software library is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public License
+* along with this software library. If not, see <http://www.gnu.org/licenses/>.
+*
+*/
+
+#include "tcpnsockstream.h"
+
+
+namespace psocksxx {
+
+ tcpnsockstream::tcpnsockstream() throw( sockexception ) :
+ nsockstream( sockstreambuf::sock_stream, sockstreambuf::ipproto_tcp ) {
+
+ }
+
+
+ tcpnsockstream::~tcpnsockstream() throw() {
+
+ }
+
+} /* end of namespace psocksxx */
+