JakobOvrum
45f6517ef4
Update COM header with CoInitializeEx
...
`CoInitializeEx` is essential to setting the threading model to multi-threaded.
Multi-threaded COM is ideal in D where threading is safer and synchronization easier.
2012-10-04 23:15:31 +09:00
Vladimir Panteleev
5fac9e2b5d
std.socket: Failed reverse lookups return null, not throw
2011-09-14 17:01:46 +03:00
Vladimir Panteleev
e9744791dd
std.socket: Add IPV6_V6ONLY SocketOption
2011-09-09 00:43:47 +03:00
Vladimir Panteleev
72490a5d12
std.socket: Add Socket.setKeepAlive for Windows and Linux
2011-09-08 23:57:16 +03:00
Vladimir Panteleev
f8846a4f46
std.socket: More constness
2011-09-08 01:19:01 +03:00
Vladimir Panteleev
cf9c945e71
std.socket: Add getAddressInfo
2011-09-05 22:33:33 +03:00
Vladimir Panteleev
3cc1436133
std.socket: Require hostname when using getnameinfo, for consistency with gethostbyaddr
2011-09-05 16:33:30 +03:00
Vladimir Panteleev
fb9d56f77a
std.c.windows.winsock: const-correctness in API function declarations
2011-08-24 08:33:05 +03:00
Vladimir Panteleev
98ea66eac5
std.c.windows.winsock: add FD_CREATE for allocating fd_sets of arbitrary capacity
2011-08-22 06:44:45 +03:00
Vladimir Panteleev
ef3fd73603
std.c.windows.winsock: fix alignment
2011-08-22 06:22:00 +03:00
David Nadlinger
5ae54cbf5d
Disable SIGPIPE on send()ing to a Socket on OS X.
...
Previously, std.socket code assumed that MSG_NOSIGNAL existed on all platforms, which is not the case – std.c.osx.socket actually has a comment saying »Not defined in OS X, but we'll use them anyway«. This lead to Socket.send() raising SIGPIPE on OS X if the peer had already closed the connection.
With this commit, std.socket sets the SO_NOSIGPIPE socket option on systems that support it for the same effect as MSG_NOSIGNAL on Linux.
Strictly speaking, removing the NOSIGNAL SocketFlag is a breaking API change, but I do not think there is any code actually using it, as it has always been set implicitly by std.socket anyway.
2011-07-05 15:33:07 +02:00
David Nadlinger
955b112d71
Added InternetAddress.toHostNameString() for looking up the host name.
...
I am not particularly fond of the method name, but it follows the existing scheme.
2011-06-15 19:51:33 +02:00
Andrei Alexandrescu
d061f13d34
https://github.com/D-Programming-Language/phobos/pull/23
2011-05-01 12:11:46 -05:00
Walter Bright
b8ce58ccd1
detab sources
2010-08-23 02:14:45 +00:00
Andrei Alexandrescu
36da69e048
Added pragma(lib, "uuid")
2010-08-08 01:16:38 +00:00
Sean Kelly
035f8f39c1
Resolved differences between Posix and Windows declarations for BSD socket routines by standardizing on the Posix declaration (which is likely the correct one). This required reverting some changes to std.socket and changing the type of SOCKET from uint to int, which shoudl be fine since they're both 4 bytes anyway.
2009-03-26 18:04:44 +00:00
Sean Kelly
0b1bf3b1d5
2009-03-26 15:13:53 +00:00
Walter Bright
288b76bd82
rollup
2008-12-12 10:45:36 +00:00
Bartosz Milewski
35a6d41bea
added synchro.d to Windows makefile,
...
fixed an old build break,
added Mutex and trylock
2008-06-24 00:40:22 +00:00
Bartosz Milewski
53e29ae982
Added CriticalSection
2008-06-21 20:48:09 +00:00
Walter Bright
623849f377
add const
2008-05-10 22:28:39 +00:00
Walter Bright
46c83cf355
const to enums
2008-03-04 08:24:16 +00:00
Walter Bright
752e5d8d4d
add missing declarations
2008-02-14 22:27:16 +00:00
Walter Bright
4d669e57e6
bugzilla 1757
2008-01-03 01:55:35 +00:00
Walter Bright
46330e2fe3
manifest => enum
2007-12-28 01:47:21 +00:00
Walter Bright
b2a37b2833
updates for new const regime
2007-12-21 00:01:31 +00:00
Brad Roberts
09916d399a
Initial merge of candidate to trunk for r459:513
2007-11-27 20:28:40 +00:00
Brad Roberts
e665d910ca
Merge r355:385 from branches/phobos-1.x to trunk
...
-- fix for bug 1491 -- sigpipe suppression
-- fix for bug 1478 -- libc network api threadsafety
-- add std.socket to the standard unittest set
2007-10-14 05:10:52 +00:00
Brad Roberts
52f3c4c4dd
phobos 2.001
2007-09-10 07:14:17 +00:00
Brad Roberts
de971890b0
phobos 2.000
2007-09-10 06:45:08 +00:00
Brad Roberts
1de7f2e4ba
phobos 1.007
2007-09-10 06:02:02 +00:00
Brad Roberts
c4389822c1
phobos 0.167
2007-09-10 05:30:20 +00:00
Brad Roberts
b76c21ccf9
phobos 0.161
2007-09-10 05:24:49 +00:00
Brad Roberts
02ee34661a
phobos 0.158
2007-09-10 05:22:58 +00:00
Brad Roberts
f3114b30a0
phobos 0.155
2007-09-10 05:19:06 +00:00
Brad Roberts
071f592aa2
phobos 0.129
2007-09-10 04:45:59 +00:00
Brad Roberts
0c3ebe937f
phobos 0.121
2007-09-10 04:38:59 +00:00
Brad Roberts
819e15007a
phobos 0.117
2007-09-10 04:35:34 +00:00
Brad Roberts
119d8efbac
phobos 0.116
2007-09-10 04:34:51 +00:00
Brad Roberts
f5e542b7da
phobos 0.114
2007-09-10 04:31:54 +00:00
Brad Roberts
15465290ea
phobos 0.110
2007-09-10 04:25:53 +00:00
Brad Roberts
5b1e376698
phobos 0.99
2007-09-10 04:09:37 +00:00
Brad Roberts
2fd7d60c13
phobos 0.96
2007-09-10 04:05:01 +00:00
Brad Roberts
01da3ae915
phobos 0.89
2007-09-10 03:58:07 +00:00
Brad Roberts
99f2734db6
phobos 0.88
2007-09-10 03:56:33 +00:00
Brad Roberts
b0ad2b2264
phobos 0.86
2007-09-10 03:54:37 +00:00
Brad Roberts
d907bc9c45
phobos 0.82
2007-09-10 03:52:05 +00:00
Brad Roberts
fa26a1683e
phobos 0.80
2007-09-10 03:48:16 +00:00
Brad Roberts
224c570c1b
phobos 0.78
2007-09-10 03:43:40 +00:00
Brad Roberts
c53c12f16c
phobos 0.77
2007-09-10 03:41:43 +00:00