diff options
author | Haru <haru@dotalux.com> | 2015-12-02 00:52:00 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-12-02 01:29:03 +0100 |
commit | 9be1d84752ba2ed733ae29d68304f5825cf29162 (patch) | |
tree | baae270c400ec5a8766ace192fc6aa4cbc53c881 /zlib1.dll | |
parent | e134bb97526d95d1024bfbf1afa1a37b36a693f1 (diff) | |
download | hercules-9be1d84752ba2ed733ae29d68304f5825cf29162.tar.gz hercules-9be1d84752ba2ed733ae29d68304f5825cf29162.tar.bz2 hercules-9be1d84752ba2ed733ae29d68304f5825cf29162.tar.xz hercules-9be1d84752ba2ed733ae29d68304f5825cf29162.zip |
Fixed an issue with the socket send/receive timeouts in Windows
- According to https://msdn.microsoft.com/en-us/library/windows/desktop/ms740476(v=vs.85).aspx
setsockopt() for SO_RCVTIMEO/SO_SNDTIMEO require a DWORD argument,
unlike their POSIX equivalent, requiring a struct timeval.
- Always keep in mind: When you see a Microsoft API function that looks
like a duck, swims like a duck, quacks like a duck, it most certainly
is not a duck.
- Thanks to ultramage.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'zlib1.dll')
0 files changed, 0 insertions, 0 deletions