You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@etch.apache.org by ve...@apache.org on 2014/03/18 14:28:49 UTC

svn commit: r1578867 - /etch/trunk/binding-cpp/runtime/src/main/transport/EtchTcpConnection.cpp

Author: veithm
Date: Tue Mar 18 13:28:48 2014
New Revision: 1578867

URL: http://svn.apache.org/r1578867
Log:
ETCH-283 Setting up client socket after creation

When the client connects to a server socket, the socket was
not set up according to the default or user specified paramters as e.g.
buffer size or linger time.

Change-Id: I3af98319d06c004cb0416e80cf403b20077ee294

Modified:
    etch/trunk/binding-cpp/runtime/src/main/transport/EtchTcpConnection.cpp

Modified: etch/trunk/binding-cpp/runtime/src/main/transport/EtchTcpConnection.cpp
URL: http://svn.apache.org/viewvc/etch/trunk/binding-cpp/runtime/src/main/transport/EtchTcpConnection.cpp?rev=1578867&r1=1578866&r2=1578867&view=diff
==============================================================================
--- etch/trunk/binding-cpp/runtime/src/main/transport/EtchTcpConnection.cpp (original)
+++ etch/trunk/binding-cpp/runtime/src/main/transport/EtchTcpConnection.cpp Tue Mar 18 13:28:48 2014
@@ -130,6 +130,7 @@ status_t EtchTcpConnection::openSocket(c
     // try to open a socket.
     if (mSocket == NULL) {
       mSocket = new EtchSocket();
+      setupSocket();
     }
     if (mSocket->connect((capu::char_t*) mHost.c_str(), mPort) == ETCH_OK) {
       mMutexConnection.unlock();