Add accept() wrapper
commited599301a752c999a4f84643874ee5f252ffad4e
authorOlly Betts <olly@survex.com>
Thu, 7 Jul 2022 05:29:22 +0000 (7 17:29 +1200)
committerOlly Betts <olly@survex.com>
Wed, 13 Jul 2022 06:58:15 +0000 (13 18:58 +1200)
tree43d86c9f8975ae68fb17cfce921d950e89af09d7
parentf270958457b60e5fe9544959a9eeb6e721b90bbc
Add accept() wrapper

Check an assumption that Microsoft's SOCKET type only actually holds
32 bit values even in 64 bit platforms and throw an exception if
violated.

(cherry picked from commit c6708b8351ee80f871ba746d517fcda1a8bc9c6d)
xapian-core/common/safesyssocket.h