summaryrefslogtreecommitdiff
path: root/src/net
AgeCommit message (Collapse)Author
2018-08-21net/IPv6Address: pass reference to Cast()Max Kellermann
2018-08-21net/IPv4Address: pass reference to Cast()Max Kellermann
2018-08-21net/AllocatedSocketAddress: convert operator== to templateMax Kellermann
2018-08-21net/SocketDescriptor: add multicast methodsMax Kellermann
2018-08-21net/SocketDescriptor: remove unnecessary SO_REUSEPORT checkMax Kellermann
2018-08-21net/SocketDescriptor: add Shutdown()Max Kellermann
2018-08-21net/SocketDescriptor: fix SOCK_NONBLOCK flag in CreateSocketPairNonBlock()Max Kellermann
2018-08-21net/SocketDescriptor: add "noexcept"Max Kellermann
2018-08-21net/SocketAddress: add cast to size_typeMax Kellermann
2018-08-21net/SocketAddress: add GetSteadyPart()Max Kellermann
2018-08-21net/SocketDescriptor: make accept4() mandatory on LinuxMax Kellermann
2018-08-21net/SocketAddress: reimplement GetPort() using IPv4Address::GetPort()Max Kellermann
2018-08-21net/SocketAddress: add IsV4Mapped()Max Kellermann
2018-08-21net/SocketAddress: reimplement IsV6Any() using IPv6Address::IsAny()Max Kellermann
2018-08-21net/IPv6Address: new classMax Kellermann
2018-08-21net/Resolver: update copyright yearMax Kellermann
2018-08-21net/Resolver: replace with more advanced implementationMax Kellermann
The new implementation is copied from another project and is BSD-licensed. It is exception-safe and can parse IPv6 scope ids with interface names.
2018-08-20Compiler.h: move to util/Max Kellermann
2018-08-20net/SocketDescriptor: add method GetPeerCredentials()Max Kellermann
2018-08-20net/SocketDescriptor: add GetType(), IsStream()Max Kellermann
2018-08-20system/FileDescriptor: add IsPipe(), IsSocket()Max Kellermann
2018-08-20net/SocketAddress: add method GetLocalRaw()Max Kellermann
2018-08-20net/IPv4Address: add various helper methodsMax Kellermann
2018-08-20net/IPv4Address: add struct sockaddr_in constructorMax Kellermann
2018-08-20net/SocketAddress: make GetAddress() constexprMax Kellermann
2018-08-20net/IPv4Address: add API documentationMax Kellermann
2018-08-20net/IPv4Address: add static method ConstructInAddrBE()Max Kellermann
2018-08-20net/IPv4Address: check _WIN32 instead of WIN32Max Kellermann
2018-08-20net/IPv4Address: add "noexcept"Max Kellermann
2018-08-14fixed setting unix socket permissions1848
first call fchmod() to prevent TOCTTOU, then apply permissions using chmod()
2018-08-07Moved call to fchmod() on socket from OneServerSocket::Open() to ↵1848
socket_bind_listen()
2018-07-13system/FileDescriptor: no-op implementation of *CloseOnExec() on WindowsMax Kellermann
Fixes the NFS client build, closes #305.
2018-02-24Merge branch 'v0.20.x'Max Kellermann
2018-02-24net/Init: work around -Werror=unused-variableMax Kellermann
2018-02-24Merge tag 'v0.20.18'Max Kellermann
release v0.20.18
2018-02-24Main: move WinSock initialization to class ScopeNetInitMax Kellermann
2018-01-05configure.ac: autodetect sin_len member in struct sockaddr_in.François Revol
This fixes a build issue on Haiku as it does have sin_len. Tested on Linux as well. For some reason AC_CHECK_MEMBER doesn't generate the proper define in config.h.in, so I used AC_CHECK_MEMBERS.
2017-12-16Merge branch 'v0.20.x'Max Kellermann
2017-12-12*: check defined(_WIN32) instead of defined(WIN32)Max Kellermann
Only _WIN32 is defined by the compiler, and WIN32 is not standardized and may be missing. Closes #169
2017-09-16Fix building on BSDsChristopher Zimmermann
2017-09-13net/AllocatedSocketAddress: pass SocketAddress by value to operator!=Max Kellermann
2017-08-11net/IPv4Address: new classMax Kellermann
2017-08-11net/SocketDescriptor: add AcceptNonBlock() overload without addressMax Kellermann
2017-08-11net/SocketDescriptor: AcceptNonBlock() enables non-blocking even if ↵Max Kellermann
SOCK_NONBLOCK is unavailable
2017-08-11net/SocketDescriptor: check HAVE_ACCEPT4Max Kellermann
2017-08-10net/SocketUtil: use SocketDescriptor::SetBoolOption()Max Kellermann
2017-08-10net/SocketDescriptor: add method SetKeepAlive()Max Kellermann
2017-08-10net/SocketDescriptor: allow constructing with "int"Max Kellermann
2017-08-10net/SocketDescriptor: SO_REUSEADDR is portableMax Kellermann
2017-08-10net/SocketUtil: fix -WunusedMax Kellermann