52 Commits

Author SHA1 Message Date
Miklos Vajna
12d0699b5b GH #1050 Net: fix gcc -Wshadow warnings 2015-12-29 20:20:48 +01:00
Guenter Obiltschnig
515de4128f handle ENOENT error 2015-09-08 16:21:25 +02:00
Guenter Obiltschnig
843f251487 support for AF_UNIX socket address 2015-09-07 17:53:25 +02:00
Guenter Obiltschnig
02fc2418ca style fix 2015-07-14 06:21:05 +02:00
Rangel Reale
bd9b5b46d8 * Windows 7 or lower have an undocumented minimum of 500ms for socket timeouts, detect at runtime and assume it as broken timeouts (https://social.msdn.microsoft.com/Forums/en-US/76620f6d-22b1-4872-aaf0-833204f3f867/minimum-timeout-value-for-sorcvtimeo) 2015-07-13 16:25:12 -03:00
Guenter Obiltschnig
8513b11a8f cleanup 2015-03-28 11:23:25 +01:00
Guenter Obiltschnig
544229302e #538 prevent destructors from throwing exceptions 2014-09-19 09:46:49 +02:00
Roger Meier
b0581433a7 LICENSE: add info about SPDX-License-Identifier usage and use it
fix: remove executable flag and change back to 100644 (was 100755)

Signed-off-by: Roger Meier <r.meier@siemens.com>
2014-05-14 08:38:09 +02:00
Roger Meier
628a06f718 LICENSE: add info about SPDX-License-Identifier usage and use it
Signed-off-by: Roger Meier <roger@bufferoverflow.ch>
2014-05-04 21:02:42 +02:00
Guenter Obiltschnig
8b456cd293 add error code to TimeoutException, where available 2013-12-13 12:34:42 +01:00
Guenter Obiltschnig
8f07db4aa3 various fixes - see CHANGELOG 2013-11-14 21:54:41 +01:00
Mike Naquin
3755e6e422 Check for EPIPE error on UNIX systems in SocketImpl::error 2013-07-17 09:17:12 -05:00
Mike Naquin
531a9630a1 Ignore SIGPIPE on UNIX to keep sockets from crashing 2013-07-17 09:11:51 -05:00
aleks-f
a401cdf892 spaces -> tabs 2013-01-06 21:19:38 -06:00
aleks-f
73a3a5e288 added POCO_ENOERR
silence gcc warning and shiled from accidentally throwing on no error
2013-01-05 15:00:25 -06:00
aleks-f
8fe3a398af Net Windows automatic (un)initialize
automatic network (un)initialization on windows
NumericString 64-bit compile/warning fixes
2012-12-19 00:38:18 -06:00
Aleksandar Fabijanic
1a139794de - Win7/VS100 compile fix
- throw NotImplementedException when no IPV6_V6ONLY defined
2012-09-10 04:10:35 +00:00
Aleksandar Fabijanic
0f8264ea55 VS 2003: Win XP/SP3 compile/tests (Foundation, Net, XML, JSON, UTIL) 2012-09-10 03:39:50 +00:00
Aleksandar Fabijanic
b5d704bfeb - NetworkInterface Windows improvements (detect broadcast address rather than calculate it)
- site-local IPv6 prefix (RFC4291)
NOTE: other platforms compilation still broken (WIP)
2012-08-11 16:45:48 +00:00
Aleksandar Fabijanic
03ddca58f5 porting rev.1894 to trunk 2012-07-27 02:01:39 +00:00
Aleksandar Fabijanic
5a639074d9 change EOL to 'native' 2012-04-29 18:52:25 +00:00
Aleksandar Fabijanic
a68b9a114f POSIX poll() support 2012-04-28 19:07:15 +00:00
Aleksandar Fabijanic
a9cef39021 fcntl patch for UNIX platforms; code compiled and tests run on Mac & Win 2012-04-26 02:57:16 +00:00
Aleksandar Fabijanic
d75e68c027 new trunk (base for 1.5)
windows build only
2012-04-23 01:14:34 +00:00
Aleksandar Fabijanic
f9b60296f7 removing old trunk files 2012-04-23 00:43:14 +00:00
Marian Krivos
b242f2c8d1 Net: near complete merge to 1.4.2 2011-09-14 18:20:11 +00:00
Sergey N. Yatskevich
bf87d53ac7 - remove kqueue support from Socket::select and SocketImpl::poll.
This code does not work well, I am sorry.
2010-04-01 11:30:30 +00:00
Aleksandar Fabijanic
99242a4862 -removed #warning (not portable)
- modified appinf IP address
2010-03-31 12:26:52 +00:00
Sergey N. Yatskevich
acba77b3ce Add support of epoll and kqueue into Socket::select and SocketImpl::poll 2010-03-31 10:47:46 +00:00
Aleksandar Fabijanic
589de05652 removed comments from code 2009-05-28 12:14:17 +00:00
Marian Krivos
08f24cb0a4 recommit of lost change - SIGSEGV on poll() with socfd == -1 2009-05-28 11:19:59 +00:00
Guenter Obiltschnig
9cb9229a4e socket initialization and other fixes 2009-04-14 11:02:21 +00:00
Guenter Obiltschnig
37e6fa383a fixes from 1.3.4 2009-03-24 09:23:21 +00:00
Marian Krivos
5f35304974 fix for socket poll() crash when (fd == -1) 2009-03-12 12:47:00 +00:00
Marian Krivos
b99f4b6d1f OpenSolaris + SunPro C++ compile fix 2009-02-24 22:00:36 +00:00
Guenter Obiltschnig
75a07d7983 NetSSL library refactoring 2009-02-23 20:56:01 +00:00
Marian Krivos
ec7c34dec4 Compilation fix for gcc 4.3.3: string.h + memset() || cstring + std::memset() 2009-02-14 15:47:11 +00:00
Aleksandar Fabijanic
ab0684a1cd poll() support (tested on Solaris and Linux)
array delete policy for SharedPtr
2008-12-03 20:38:53 +00:00
Guenter Obiltschnig
b526dd81f2 changes from main repository 2008-01-29 09:06:52 +00:00
Guenter Obiltschnig
2986d273a1 synced with main repository 2008-01-28 17:34:07 +00:00
Eran Hammer-Lahav
1f47c0df2f Feature Request #1873924
Add code (int) to Poco::Exception with default value zero. When throwing exceptions, applications can currently set a custom message. This will add the ability to set a custom code as well, that is specific to the application. This change implements codes for Poco::SocketImpl via the error() method to allow handling of different socket errors based on their actual type (without having to compare their message text).
2008-01-17 19:07:35 +00:00
Guenter Obiltschnig
f7b1357ec6 latest sources from main repository 2007-06-13 15:14:53 +00:00
Guenter Obiltschnig
ed4789b844 latest changes from main rep 2007-05-04 11:06:33 +00:00
Guenter Obiltschnig
6b529b6061 committed latest 1.3 snapshot 2007-04-18 16:25:02 +00:00
Guenter Obiltschnig
dfe559af3b changes from main repository 2007-02-27 08:56:44 +00:00
Guenter Obiltschnig
d6b783cc3b integrated changes from main rep 2007-02-25 09:17:38 +00:00
Guenter Obiltschnig
5a2a425002 sync to internal repository 2007-02-23 14:41:53 +00:00
Guenter Obiltschnig
c240a70569 sources for 1.3 2006-11-17 16:38:28 +00:00
Guenter Obiltschnig
0c24077c43 set eol-style to native 2006-10-23 16:25:09 +00:00
Guenter Obiltschnig
a01116ca11 integrated changes for 1.2.3 2006-09-14 16:46:36 +00:00