mpd/src/net
Max Kellermann 491cc8f54d net/SocketDescriptor: add {Read,Write}NoWait()
It was surprising that Read() was non-blocking, but there was no
blocking version of it.  Let's make the non-blocking behavior explicit
and change Read() to be blocking.

In order to find existing callers easily with compiler errors, this
also refactors Read()/Write() to take a std::span parameter.
2023-09-27 11:39:55 +02:00
..
AddressInfo.cxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
AddressInfo.hxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
AllocatedSocketAddress.cxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
AllocatedSocketAddress.hxx net/AllocatedSocketAddress: add method GetSteadyPart() 2023-09-11 21:27:12 +02:00
DscpParser.cxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
DscpParser.hxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
Features.hxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
HostParser.cxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
HostParser.hxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
Init.hxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
IPv4Address.cxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
IPv4Address.hxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
IPv6Address.cxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
IPv6Address.hxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
meson.build lib/fmt/RuntimeError: new library 2022-11-29 14:10:34 +01:00
Resolver.cxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
Resolver.hxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
SocketAddress.cxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
SocketAddress.hxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
SocketDescriptor.cxx net/SocketDescriptor: add {Read,Write}NoWait() 2023-09-27 11:39:55 +02:00
SocketDescriptor.hxx net/SocketDescriptor: add {Read,Write}NoWait() 2023-09-27 11:39:55 +02:00
SocketError.cxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
SocketError.hxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
SocketUtil.cxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
SocketUtil.hxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
StaticSocketAddress.cxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
StaticSocketAddress.hxx net/StaticSocketAddress: add method GetSteadyPart() 2023-09-11 21:27:12 +02:00
ToString.cxx net/ToString: check family==AF_INET6 instead of looking for colons 2023-09-18 21:59:27 +02:00
ToString.hxx net/ToString: use #pragma once 2023-09-18 22:01:40 +02:00
UniqueSocketDescriptor.hxx net/SocketDescriptor: decouple from FileDescriptor on Windows 2023-03-29 10:12:50 +02:00