Max Kellermann
|
2119e4fd3e
|
system/EventPipe: use class UniqueSocketDescriptor in PoorSocketPair()
|
2017-08-11 09:09:04 +02:00 |
|
Max Kellermann
|
bcd5190f1d
|
system/EventPipe: throw exception instead of raising fatal error
|
2017-08-11 09:09:04 +02:00 |
|
Max Kellermann
|
d705a92e43
|
net/IPv4Address: new class
|
2017-08-11 09:09:04 +02:00 |
|
Max Kellermann
|
614b3634d4
|
net/SocketDescriptor: add AcceptNonBlock() overload without address
|
2017-08-11 09:07:35 +02:00 |
|
Max Kellermann
|
b234f4307f
|
net/SocketDescriptor: AcceptNonBlock() enables non-blocking even if SOCK_NONBLOCK is unavailable
|
2017-08-11 09:04:38 +02:00 |
|
Max Kellermann
|
e38c213ee0
|
net/SocketDescriptor: check HAVE_ACCEPT4
|
2017-08-11 09:04:10 +02:00 |
|
Max Kellermann
|
699f41e114
|
system/EventPipe: use AtScopeExit() in PoorSocketPair()
|
2017-08-11 08:30:37 +02:00 |
|
Max Kellermann
|
424e1363ed
|
zeroconf/Bonjour: pass SocketDescriptor to constructor
Fixes Mac build failure.
|
2017-08-11 08:25:26 +02:00 |
|
Max Kellermann
|
7484bc31b4
|
system/FileDescriptor: implement CreatePipe() on Windows
|
2017-08-11 08:15:47 +02:00 |
|
Max Kellermann
|
5a495cc165
|
system/fd_util: remove unused function close_socket()
|
2017-08-10 19:47:57 +02:00 |
|
Max Kellermann
|
9ff4717738
|
system/fd_util: remove unused function accept_cloexec_nonblock()
|
2017-08-10 19:47:40 +02:00 |
|
Max Kellermann
|
0c1740982d
|
system/fd_util: remove unused function open_cloexec()
|
2017-08-10 19:46:23 +02:00 |
|
Max Kellermann
|
3c7c0515d8
|
output/oss: use class FileDescriptor
|
2017-08-10 19:42:23 +02:00 |
|
Max Kellermann
|
56cb92fdaf
|
mixer/oss: use class FileDescriptor
|
2017-08-10 19:41:22 +02:00 |
|
Max Kellermann
|
c00b6ff999
|
fs/FileSystem: use UniqueFileDescriptor in TruncateFile()
|
2017-08-10 19:40:47 +02:00 |
|
Max Kellermann
|
df5cc3f0f6
|
fs/FileSystem: OpenFile() returns UniqueFileDescriptor
|
2017-08-10 19:34:52 +02:00 |
|
Max Kellermann
|
eb0ff32efb
|
system/FileDescriptor: add Open() overload with wchar_t path
|
2017-08-10 19:34:52 +02:00 |
|
Max Kellermann
|
cf0120e8e0
|
net/SocketUtil: use SocketDescriptor::SetBoolOption()
|
2017-08-10 19:30:46 +02:00 |
|
Max Kellermann
|
1f47dc990d
|
net/SocketDescriptor: add method SetKeepAlive()
|
2017-08-10 19:25:02 +02:00 |
|
Max Kellermann
|
9a5bcc6db0
|
net/ServerSocket: pass UniqueSocketDescriptor&& to OnAccept()
|
2017-08-10 19:20:14 +02:00 |
|
Max Kellermann
|
492b20a89d
|
event/SocketMonitor: use class SocketDescriptor
|
2017-08-10 19:19:58 +02:00 |
|
Max Kellermann
|
fcfc8bacc0
|
output/httpd: remove obsolete accept() error check
|
2017-08-10 19:19:53 +02:00 |
|
Max Kellermann
|
0800d9427c
|
system/fd_util: remove unused function socket_cloexec_nonblock()
|
2017-08-10 17:40:14 +02:00 |
|
Max Kellermann
|
4e113a7086
|
lib/nfs/Connection: use class SocketDescriptor
|
2017-08-10 17:37:19 +02:00 |
|
Max Kellermann
|
39f422ded8
|
net/SocketDescriptor: allow constructing with "int"
|
2017-08-10 17:37:08 +02:00 |
|
Max Kellermann
|
d2cdaa041c
|
net/SocketDescriptor: SO_REUSEADDR is portable
|
2017-08-10 13:23:14 +02:00 |
|
Max Kellermann
|
d84dae488e
|
net/SocketUtil: fix -Wunused
|
2017-08-10 13:22:00 +02:00 |
|
Max Kellermann
|
79e75bfbb9
|
net/SocketDescriptor: cast setsockopt() value to "const char *" for Windows
|
2017-08-10 13:21:24 +02:00 |
|
Max Kellermann
|
73b15c1bee
|
net/SocketDescriptor: socketpair() is unavailable on Windows
|
2017-08-10 13:19:47 +02:00 |
|
Max Kellermann
|
b180604422
|
net/SocketDescriptor: implement SetNonBlocking() on Windows
|
2017-08-10 13:18:23 +02:00 |
|
Max Kellermann
|
fab12ef241
|
net/SocketDescriptor: call SetNonBlocking() on Linux if SOCK_NONBLOCK unavailable
|
2017-08-10 13:16:25 +02:00 |
|
Max Kellermann
|
917881aa48
|
net/SocketDescriptors: IsValid() is not available on Windows
|
2017-08-10 13:15:57 +02:00 |
|
Max Kellermann
|
9259e989a4
|
net/SocketDescriptors: fix includes for Windows
|
2017-08-10 13:13:19 +02:00 |
|
Max Kellermann
|
da90f484aa
|
net/SocketUtil: socket_bind_listen() returns UniqueSocketDescriptor
|
2017-08-10 13:12:13 +02:00 |
|
Max Kellermann
|
817e912025
|
net/SocketDescriptor: specialization of FileDescriptor for network sockets
|
2017-08-10 13:12:13 +02:00 |
|
Max Kellermann
|
7f83d38bca
|
net/StaticSocketAddress: add struct sockaddr cast operators
|
2017-08-10 13:12:13 +02:00 |
|
Max Kellermann
|
54de8b8e77
|
net/*, ...: use AF_LOCAL instead of AF_UNIX
|
2017-08-10 13:12:13 +02:00 |
|
Max Kellermann
|
796956970e
|
net/StaticSocketAddress: pass SocketAddress by value to operator!=
|
2017-08-10 13:12:13 +02:00 |
|
Max Kellermann
|
c0020142da
|
net/StaticSocketAddress: add method SetMaxSize()
|
2017-08-10 13:12:13 +02:00 |
|
Max Kellermann
|
ee6eea95af
|
net/StaticSocketAddress: set a valid size in Clear()
|
2017-08-10 13:12:13 +02:00 |
|
Max Kellermann
|
a257504ba4
|
mixer/Plugin: pass AudioOutput to init()
Fix breakage from commit bea5681fd8
|
2017-08-10 13:07:36 +02:00 |
|
Max Kellermann
|
fb0dbce15b
|
system/EventFD: use class UniqueFileDescriptor
|
2017-08-10 12:14:56 +02:00 |
|
Max Kellermann
|
8333551331
|
system/SignalFD: use class UniqueFileDescriptor
|
2017-08-10 12:13:41 +02:00 |
|
Max Kellermann
|
292d794806
|
system/UniqueFileDescriptor: new auto-closing FileDescriptor wrapper
|
2017-08-10 12:01:17 +02:00 |
|
Max Kellermann
|
91ce76af9d
|
system/FileDescriptor: add methods EnableCloseOnExec(), DisableCloseOnExec()
|
2017-08-10 11:54:26 +02:00 |
|
Max Kellermann
|
33bd9e80bb
|
system/FileDescriptor: add method IsReadyForWriting()
|
2017-08-10 11:53:43 +02:00 |
|
Max Kellermann
|
d310f3e9b7
|
system/FileDescriptor: add method IsValid()
|
2017-08-10 11:52:22 +02:00 |
|
Max Kellermann
|
8c832f4c50
|
system/FileDescriptor: use std::exchange()
|
2017-08-10 09:55:11 +02:00 |
|
Max Kellermann
|
31bad5f7af
|
output/Interface: convert to abstract class
Yet another C-style vtable replaced with C++.
|
2017-08-10 09:01:41 +02:00 |
|
Max Kellermann
|
1cf7f3d87c
|
output/Solaris: use class FileDescriptor
|
2017-08-10 08:56:56 +02:00 |
|