summaryrefslogtreecommitdiff
path: root/socketft.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix "cast from 'struct sockaddr*' to 'struct sockaddr_in*' increases ↵Jeffrey Walton2017-12-261-2/+4
| | | | required alignment" on OS X
* Set _WIN32_WINNT to 0x501 for MinGW and <wspiapi.h> (GH #529)Jeffrey Walton2017-11-061-0/+8
|
* sockets: fix Windows 2000 build (#450)Marcel Raad2017-07-281-1/+4
| | | | | | | | | | | | Commit 4630a5dab66a0e18ec8dfc0998ac223e40b3dc13 broke compilation for Windows 2000 and earlier as getaddrinfo was introduced in Windows XP. Fix this by including <wspiapi.h> when targeting Windows 2000 and earlier, which falls back to an inline implementation of getaddrinfo when necessary. Some MinGW flavors still target Windows 2000 by default. Ref: https://msdn.microsoft.com/en-us/library/windows/desktop/ms738520.aspx, section "Support for getaddrinfo on Windows 2000 and older versions"
* WSAStringToAddress => WSAStringToAddressAdenisbider2017-03-071-1/+1
| | | Issue #385
* Add C++ nullptr support (Issue 383)Jeffrey Walton2017-03-011-18/+18
|
* Change file preamble to include "originally written by Wei Dai"Jeffrey Walton2017-01-271-1/+1
| | | | We have made a fair number of changes, and we don't want WD to receive credit for issues he was not part of
* Fix: GCC warning "type qualifiers ignored on function return type".Ralph Tandetzky2016-12-011-1/+1
| | | | This pedantic message appeared all over the code. Also removed one warning about an unused variable in release build.
* Fix "WSAStringToAddress was not declared in this scope" on Cygwin (Issue 322)Jeffrey Walton2016-10-141-2/+2
|
* Ensure NULL terminator for VS2005 and belowJeffrey Walton2016-10-101-0/+1
|
* Revert "Ensure NULL terminator for VS2005 and below"Jeffrey Walton2016-10-101-1/+1
| | | | This reverts commit 1f779dec2a4ccaa176fe77933d3f0be20a55a591. We needed '\0', not '0'.
* Ensure NULL terminator for VS2005 and belowJeffrey Walton2016-10-101-1/+1
|
* Provide temporary buffer for WSAStringToAddressJeffrey Walton2016-10-101-3/+17
| | | | Also see http://stackoverflow.com/q/39952781
* Make inet_pton failures non-fatalJeffrey Walton2016-10-101-7/+9
|
* Remove reliance on _WINSOCK_DEPRECATED_NO_WARNINGS (Issue 19)Jeffrey Walton2016-10-101-9/+57
|
* Clear Coverity "Missing break in switch (MISSING_BREAK)"Jeffrey Walton2016-10-011-0/+2
| | | | CID 147882, 147880, 147879, 147876
* Coverity finding CID 148134: Uninitialized scalar field (UNINIT_CTOR) (Issue ↵Jeffrey Walton2016-09-291-2/+2
| | | | 312)
* Add CRYPTOPP_ASSERT (Issue 277, CVE-2016-7420)Jeffrey Walton2016-09-161-26/+26
| | | | trap.h and CRYPTOPP_ASSERT has existed for over a year in Master. We deferred on the cut-over waiting for a minor version bump (5.7). We have to use it now due to CVE-2016-7420
* Cleared "Local variable is initialized but not referenced" in MSCJeffrey Walton2016-07-031-0/+6
|
* Fix "u_short was not declared in this scope" (Issue 187)Jeffrey Walton2016-06-121-3/+3
|
* Add changes for Windows Sotre that went missing with my clumsy Git skillsJeffrey Walton2016-05-091-10/+31
|
* Add missing header for Windows 8, Windows Server 2012, and Windows Phone 8Jeffrey Walton2016-04-271-0/+7
|
* Explicitly unpoison the result of FD_ZEROJeffrey Walton2016-02-261-0/+12
|
* Cleared -Wcast-align (Issue 122)Jeffrey Walton2016-01-251-1/+2
|
* CRYPTOPP 5.6.3 RC6 checkinJeffrey Walton2015-11-051-533/+546
|
* Used pragmas to disable the deprecated warnings under Visual Studio rather ↵Jeffrey Walton2015-07-271-0/+1
| | | | than _WINSOCK_DEPRECATED_NO_WARNINGS. Using _WINSOCK_DEPRECATED_NO_WARNINGS could cross-pollintae out of the library and into user code
* Cut-in CRYPTOPP_ASSERT in all remaining header and source filesJeffrey Walton2015-07-261-15/+15
|
* Added "trap.h" include for header and source files that assertJeffrey Walton2015-07-261-0/+1
|
* Revert "Cleared -Wreorder from GCC 4.8 on MinGW"Jeffrey Walton2015-07-201-2/+2
| | | | This reverts commit a9082aeee0b67383cd5dc9a283a4409f4693ac7d. While it cleared the issue on MinGW, it introduced reordering issues on BSDs, Linux and OS X.
* Cleared -Wreorder from GCC 4.8 on MinGWJeffrey Walton2015-07-191-2/+2
|
* Cleared signed/unsigned warningJeffrey Walton2015-06-081-2/+2
|
* Cleared unknown pragma warning with -WallJeffrey Walton2015-06-081-1/+1
|
* fix SocketSender::EofSentweidai2006-06-091-1/+4
|
* merge in changes by denis bider and fix compile on gcc 3.4.4 and MSVC 6weidai2006-04-061-13/+62
|
* port to MSVC .NET 2005 beta 2weidai2005-07-121-15/+15
|
* sync with private branchweidai2003-06-061-4/+8
|
* Initial revisionweidai2002-10-041-0/+475