Armin Novak
68f24477f6
Fixed compilation warnings on mac
2021-08-26 15:08:28 +02:00
Armin Novak
5afa592244
Fixed cast-qual warnings
2021-08-24 11:10:51 +02:00
Armin Novak
72ca88f49c
Reformatted to new style
2019-11-07 10:53:54 +01:00
Bernhard Miklautz
f867c90e4c
Merge pull request #5308 from akallabeth/fix_win32_overlinking
...
Fixed windows overlinking.
2019-05-03 12:01:51 +02:00
Armin Novak
4c2028e285
Fixed sign-compare warnings
2019-04-05 09:14:34 +02:00
Armin Novak
8e0565b2bd
Fixed windows overlinking.
2019-03-18 15:10:21 +01:00
Ondrej Holy
95a043e0eb
winpr/winsock: Fix leak found by covscan
...
0 is valid return value from socket().
leaked_handle: Handle variable "fd" going out of scope leaks the handle.
2018-08-23 09:11:24 +02:00
Ondrej Holy
0a11a06dc9
winpr/winsock: Format code by astyle
...
Run ./scripts/format_code.sh before the following changes.
2018-08-23 09:11:24 +02:00
pentagra
df2b5c9cdf
ifdef's for Cygwin compilation
2017-02-10 18:06:20 +03:00
Norbert Federa
27c439675f
winpr: fix win32 linking issues
...
Depending on the windows target version (_WIN32_WINNT), the used
SDK and the build configuration the linker will see multiple
libraries exporting the same symbols.
To prevent ugly hacks (e.g. modifying cmake's default system
libraries or fragile library linking order chains) we prefix
these functions with "winpr_" and create corresponding defines
to keep the current api names.
2016-06-16 11:47:33 +02:00
Marc-André Moreau
f905861616
wayk-now: add missing inet_pton implementation on Windows
2016-06-08 10:51:58 -04:00
Armin Novak
68c402ac58
Removed windows module.def files.
...
All symbols exported from libraries are declared
using *_API defines.
2016-02-29 15:18:47 +01:00
Armin Novak
7d8ab23877
WSAEvent fixes ported from realjiangms pull 2870.
2015-09-05 15:18:01 +02:00
Armin Novak
134a16d522
Fixed WSAEventSelect mode reset.
2015-08-27 15:33:06 +02:00
Bernhard Miklautz
68e8569110
winpr/synch: remove the dependency on winsock.h
...
winsock.h pulls in a lot of defines and dependencies that are not
required and partially unwanted in winpr's core (for parts that are not
related to network). In order to get rid of this dependency and have an
independent defines for extended winpr functions the WINPR_FD_* defines
are used internally (and for exposed functions). Where required, like in
WSAEventSelect, the FD_* is mapped to WINPR_FD_*.
2015-07-14 11:39:41 +02:00
Armin Novak
77204aa6b6
WSAEventSelect: Handle lNetworkEvents == 0
...
WSAEventSelect did ignore the lNetworkEvents argument.
In case this argument is 0, the non blocking socket must
be set to blocking again to mimic windows behavior.
2015-07-03 09:29:36 +02:00
Marc-André Moreau
36b7d9c4e5
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2015-06-02 09:17:30 -04:00
Marc-André Moreau
4886c4c9b1
libwinpr-winsock: add WSAIoctl() interface listing for OS X
2015-05-22 19:01:37 -04:00
Petr Sumbera
fe5ce30f92
winsock.c Solaris build fixes
2015-05-21 13:24:03 -07:00
Bryan Everly
8c75127a67
Necessary changes to get latest branch working on OpenBSD 5.6
2015-04-21 14:42:06 -04:00
Marc-André Moreau
a6c292742e
libwinpr-winsock: implement interface listing with WSAIoctl
2015-02-18 13:35:33 -05:00
Marc-André Moreau
a214719a95
libwinpr-winsock: add WSAEventSelect, ioctlsocket
2015-02-08 22:29:52 -05:00
Marc-André Moreau
5bf8b1509e
libfreerdp-core: improve socket BIO handling
2015-01-28 13:46:17 -05:00
Marc-André Moreau
aa23c4eaaa
libfreerdp-core: fix random TS Gateway disconnects with async modes
2014-12-12 09:08:39 -05:00
Marc-André Moreau
8865077b40
libwinpr-winsock: minor improvements
2014-10-09 20:27:42 -04:00
Bernhard Miklautz
6a49bcfe40
winpr: always build "monolitic"
...
winpr is now always build as single library.
The build option MONOLITHIC_BUILD doesn't influence this behavior anymore.
The only exception is winpr-makecert-tool which is still build as extra
library.
This obsoletes complex_libraries for winpr.
2014-07-10 11:10:58 +02:00
Hardening
542811291c
Use poll() instead of select() when available
...
select() has the major drawback that it cannot handle file descriptor
that are bigger than 1024. This patch makes use of poll() instead of
select() when poll() support is available.
2014-07-03 15:26:49 +02:00
Marc-André Moreau
cd149ed167
libwinpr-winsock: fix non-monolithic build
2014-06-01 22:25:19 -04:00
Marc-André Moreau
04968b18c4
libfreerdp-core: replace all OpenSSL built-in BIOs by new full duplex BIOs
2014-06-01 21:37:20 -04:00
Marc-André Moreau
1172596d59
libwinpr-winsock: initial winsock implementation
2014-06-01 15:04:28 -04:00
Bernhard Miklautz
b817e92e5e
cmake: mark required libraries for export
2014-04-23 10:16:02 +02:00
Marc-André Moreau
7f49c7302d
libwinpr-winsock: stub more of winsock
2014-02-05 16:25:55 -05:00
Marc-André Moreau
55565e056c
freerdp: export targets
2013-10-28 23:06:39 -04:00
Marc-André Moreau
06fa85f31c
cmake: refactoring of MONOLITHIC_BUILD
2012-10-13 17:30:59 -04:00
Marc-André Moreau
40eea7c76b
cmake: rename WITH_MONOLITHIC_BUILD to MONOLITHIC_BUILD
2012-10-08 22:55:06 -04:00
Marc-André Moreau
fcc9f91302
cmake: add support for solution groups
2012-09-30 22:58:59 -04:00
Marc-André Moreau
7d7536f649
libwinpr: add module definition files
2012-09-21 13:02:54 -04:00
Marc-André Moreau
403d85f080
cmake: bump soname version to 1.1.0
2012-09-20 20:45:56 -04:00
Marc-André Moreau
ec8314048d
libwinpr-winsock: fix build on Windows
2012-09-20 11:07:54 -04:00
Marc-André Moreau
699eabcfb8
libwinpr-winsock: add inet_ntop for Windows XP portability
2012-09-20 10:42:01 -04:00
Marc-André Moreau
9c41865fa7
libwinpr: stubbed a couple more modules of interest
2012-09-19 21:42:46 -04:00