Github user hegdean commented on a diff in the pull request:
https://github.com/apache/trafodion/pull/1499#discussion_r177527743
--- Diff: core/conn/odbc/src/odbc/nsksrvr/Interface/Listener_srvr.cpp ---
@@ -81,4 +81,49 @@ void CNSKListenerSrvr::TCP_PROCESSNAME_PORT(FILE* fp)
fprintf(fp,"<==========TCP/PORT (%s/%d)==========>\n",m_TcpProcessName,
m_port);
}
+void CNSKListenerSrvr::TCP_SetKeepalive(int socketnum,
+ char *keepaliveStatus,
+ int idleTime,
+ int intervalTime,
+ int retryCount)
+{
+ //all need to be configured
+ if(NULL == keepaliveStatus){
+ return;
+ }
+ if(0 == strcmp(keepaliveStatus,"default")){
--- End diff --
Can the status be boolean (TRUE or FALSE) and default value can be set
FALSE
---