Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reduced to 2 classes: PassiveSocket and SimpleSocket .. and some more fixes/additions #4

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
322c952
made mingw platform compile statically without dependency to libwinpt…
hayguen Jun 17, 2016
a319476
reduced to 2 classes: PassiveSocket and SimpleSocket
hayguen Jun 17, 2016
2c2edeb
added examples, added inlines/aliases and a few fixes
hayguen Jun 19, 2016
e71b003
silence compiler warnings for switch cases
hayguen Jul 8, 2016
56ddebb
added extra interface functions and extended the examples
hayguen Jul 13, 2016
3fa3ff2
bugfix in SetConnectTimeoutMillis(), optimization and minor enhancements
hayguen Jul 15, 2016
ba677f5
fixed error handling
hayguen Jul 20, 2016
f8bbdea
added EADDRINUSE and printfs (deactivated) for debugging
hayguen Jul 20, 2016
3bee584
several bugfixes/enhancements from 'PROCITEC GmbH' company
hayguen May 3, 2018
2e20bfb
compiler/linker options for build with mingw and msvc
hayguen May 3, 2018
f011324
bugfixes and enhancements on local/peer and bind()
hayguen May 12, 2018
7222078
fix GetIPv4AddrInfo[Static]() with no/empty address string
hayguen May 13, 2018
9cbb2e7
define export/visibility - and it's import for shared library
hayguen Aug 12, 2020
4936c87
added options to allow testing udp multicast
hayguen Aug 23, 2021
1929412
definition CLSOCKET_STATIC_LIB for MSVC to skip dllexport/import
hayguen Oct 28, 2021
cae012d
added TestMaxConnections example - to test file-descriptor limit of s…
hayguen Jul 22, 2023
0ed5dff
minor, typos, ..
ayguen Aug 15, 2023
cf3def4
update/enhance/fix examples
ayguen Aug 17, 2023
d7af35c
CPassiveSocket::Listen() for nPort == 0
ayguen Sep 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
definition CLSOCKET_STATIC_LIB for MSVC to skip dllexport/import
Signed-off-by: hayati ayguen <[email protected]>
hayguen committed Oct 28, 2021
commit 1929412162c4e80285b35ef4f2e4a0878ccac4e8
4 changes: 3 additions & 1 deletion src/Host.h
Original file line number Diff line number Diff line change
@@ -251,7 +251,9 @@ extern "C"
#endif

#ifdef _MSC_VER
#ifdef EXPORT_CLSOCKET_SYMBOLS
#ifdef CLSOCKET_STATIC_LIB
#define CLSOCKET_API
#elif defined(EXPORT_CLSOCKET_SYMBOLS)
#define CLSOCKET_API __declspec(dllexport)
#else
#define CLSOCKET_API __declspec(dllimport)