[
https://issues.apache.org/jira/browse/THRIFT-1587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264260#comment-13264260
]
David Nadlinger commented on THRIFT-1587:
-----------------------------------------
Also be aware that it is not possible to set a timeout shorter than 500ms on
Windows – in fact, on all versions of Windows I tested, half a second is just
_implicitly added_ to whatever value you pass.
> TSocket::setRecvTimeout error
> -----------------------------
>
> Key: THRIFT-1587
> URL: https://issues.apache.org/jira/browse/THRIFT-1587
> Project: Thrift
> Issue Type: Bug
> Reporter: frank ling
>
> use setsockopt(socket_, SOL_SOCKET, SO_RCVTIMEO, cast_sockopt(&r), sizeof(r));
> but in windows SO_RCVTIMEO is DWORD,not recvTimeval_
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira