Note - possibly need to set send timeout as well
authorJustin Dickow <jjdickow@gmail.com>
Wed, 19 Mar 2014 19:03:43 +0000 (15:03 -0400)
committerJustin Dickow <jjdickow@gmail.com>
Wed, 19 Mar 2014 19:03:43 +0000 (15:03 -0400)
Signed-off-by: Justin Dickow <jjdickow@gmail.com>
SDL_Core/src/components/transport_manager/src/tcp/tcp_client_listener.cc

index b655358..d6fcf09 100644 (file)
@@ -139,6 +139,7 @@ void TcpClientListener::Thread() {
     setsockopt(connection_fd, IPPROTO_TCP, TCP_KEEPCNT, &keepcnt, sizeof(keepcnt));
     setsockopt(connection_fd, IPPROTO_TCP, TCP_KEEPINTVL, &keepintvl, sizeof(keepintvl));
     setsockopt(connection_fd, IPPROTO_TCP, SO_RCVTIMEO, &user_timeout, sizeof(user_timeout));
+    // NOTE: may need to set SO_SNDTIMEO
 #elif __QNX__ 
     // TODO (KKolodiy): Out of order!
     const int kMidLength = 4;