connectivity/com.nokia.tcf/native/TCFNative/TCFCommTCP/TcpComm.cpp
branchRCL_2_1
changeset 415 491ffdbbc5b5
parent 366 b054461d2f85
child 423 d23909ab8f1b
--- a/connectivity/com.nokia.tcf/native/TCFNative/TCFCommTCP/TcpComm.cpp	Tue Aug 11 10:38:58 2009 -0500
+++ b/connectivity/com.nokia.tcf/native/TCFNative/TCFCommTCP/TcpComm.cpp	Tue Aug 11 14:23:24 2009 -0500
@@ -152,7 +152,7 @@
 			{
 				int i = SO_MAX_MSG_SIZE;
 				// set socket options
-				BOOL keepAlive = FALSE;
+				BOOL keepAlive = TRUE;
 				setsockopt(m_socket, SOL_SOCKET, SO_KEEPALIVE, (const char*)&keepAlive, sizeof(BOOL));
 
 				struct linger l;