diff options
author | Justin Dickow <jjdickow@gmail.com> | 2014-03-19 15:03:43 -0400 |
---|---|---|
committer | Justin Dickow <jjdickow@gmail.com> | 2014-03-19 15:03:43 -0400 |
commit | 78e0dc830794b39c2448e2bb9b2965f6a37a40db (patch) | |
tree | d50893c6293b4d076af8b469b3c5c49c05f564c2 | |
parent | 5cb6a60859044b9e9d608bb51c9a8610c15e6f86 (diff) | |
download | smartdevicelink-78e0dc830794b39c2448e2bb9b2965f6a37a40db.tar.gz |
Note - possibly need to set send timeout as well
Signed-off-by: Justin Dickow <jjdickow@gmail.com>
-rw-r--r-- | SDL_Core/src/components/transport_manager/src/tcp/tcp_client_listener.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/SDL_Core/src/components/transport_manager/src/tcp/tcp_client_listener.cc b/SDL_Core/src/components/transport_manager/src/tcp/tcp_client_listener.cc index b6553583c..d6fcf095b 100644 --- a/SDL_Core/src/components/transport_manager/src/tcp/tcp_client_listener.cc +++ b/SDL_Core/src/components/transport_manager/src/tcp/tcp_client_listener.cc @@ -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; |