etch-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vei...@apache.org
Subject svn commit: r1578867 - /etch/trunk/binding-cpp/runtime/src/main/transport/EtchTcpConnection.cpp
Date Tue, 18 Mar 2014 13:28:49 GMT
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();



Mime
View raw message