summaryrefslogtreecommitdiff
path: root/include/sockets.h
AgeCommit message (Collapse)Author
2024-11-25Update Send and Recv to use ssize_t instead of int.Sadie Powell
2024-02-27Remove redundant uses of const.Sadie Powell
2024-01-23Mark types that have no inheritors as final.Sadie Powell
2024-01-23Improve the layout of types that inherit from another type.Sadie Powell
2024-01-22Mark all exception types as CoreExport.Sadie Powell
From the GCC docs: >Exception catching of a user defined type in a binary other than >the one which threw the exception requires a typeinfo lookup. Closes #335.
2024-01-08Mark format strings with the GNU printf attribute.Sadie Powell
2024-01-04Update the copyright headers for 2024.Sadie Powell
2023-12-17Remove some unnecessary spaces that break editor indentation.Sadie Powell
2022-12-31Merge branch '2.0' into 2.1.Sadie Powell
2022-12-31Update the copyright headers for 2023.Sadie Powell
2022-12-17Add sockaddrs::str to stringify a sockaddrs properly.Sadie Powell
Also clean up the socket code slightly.
2022-12-17Add support for linking over UNIX sockets.Sadie Powell
2022-03-01Use noexcept instead of an empty exception specifier.Sadie Powell
2022-01-12Merge branch '2.0' into 2.1.Sadie Powell
2022-01-06Update the copyright headers for 2022.Sadie Powell
2022-01-04Consistently use #pragma once across all header files.Sadie Powell
This replaces a mixture of no include guards, ANOPE_FOO_H, and FOO_H.
2022-01-04Use C++11 default initializers and destructors where possible.Sadie Powell
2022-01-03Replace anope_{final,override} with their C++11 equivalent.Sadie Powell
2021-01-07Update copyright to 2021.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2021 Anope Team/i' {} \;
2020-01-04Update copyright to 2020.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2020 Anope Team/i' {} \;
2019-12-14Fix a bunch of broken indentation.Peter Powell
2019-01-01Update copyright to 2019.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2019 Anope Team/i' {} \;
2018-04-25Update copyright to 2018.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2018 Anope Team/i' {} \;
2017-05-27Moved m_dns's reverse ip method to sockaddrs::reverse().Alexander Maassen
Updated m_dnsbl to support ipv6.
2017-01-16Update copyright to 2017.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2017 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet.
2016-07-03#1682: store aftype with masks and include cidrs in GetNUHMaskAdam
2016-01-28Update copyright to 2016. This was done with:Robby
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet. Fixed some whitespace and blank lines along the way.
2015-07-08Fix a ton of typos.Peter Powell
2014-05-20Speed up akill xline checksAdam
Cache xline nick, user, host, etc instead of rebuilding it everytime its requested. Store users ip in sockaddr form and not string form to prevent having to rebuild sockaddrs when checking xlines. Also do not try to convert empty config values in Config::Get as this can be rather common if a non string configuration value is not set, and the cost of the ConvertException is great.
2014-02-18Turn BinarySocket::Write() into a no-op when called with l == 0Attila Molnar
2014-01-01Update copyright to 2014. This was done with:Adam
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;
2013-09-19Make os_session akill ip ranges and not individual user's ipsAdam
2013-05-17Add Redis database supportAdam
2013-05-08Make sockaddrs/cidr not throw on invalid ips to give us an easier/cheaper ↵Adam
way to test for a valid IP
2013-03-13Refactor mask/entry code, allow full matching (against users real host/ip) ↵Adam
if their displayed host is their real real host. Also match against cloaked host even if full matching is not being done
2013-03-01Fix Windows buildAdam
2013-01-21Merge usefulness of Flags and Extensible classes into Extensible, made most ↵Adam
flags we have juse strings instead of defines/enums
2013-01-09Update copyright to 2013. This was done with:Adam
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-2012 Anope Team/-2013 Anope Team/i' {} \;
2013-01-03Don't delete users immediately when quit or killed, instead wait until ↵Adam
message processing is done
2012-12-13Optimize much of the database code and serialize code.Adam
2012-11-29Fix warnings from classes with virtual functions not having virtual destructorsAdam
2012-11-22Pretty large coding style cleanup, in source docAdam
cleanup, and allow protocol mods to depend on each other
2012-11-06Use std::tr1::unordered_map for a few of the larger mapsAdam
2012-11-01Fixed quite a bit of dumbness with m_ssl. Had toAdam
modify socketengines to allow polling for write & no read, but is it cleaner now. Made m_httpd able to listen using SSL.
2012-10-24BIND's forward ability did not work as I expectedAdam
because it will not forward non recursive queries. So, added support for SOA, NS, and AXFR requests.
2012-09-07Made session tracking ip based, not host based, and allow using CIDR to ↵Adam
group multiple ips from one subnet to one session
2012-09-02Fix WindowsAdam
2012-09-01Added a web panel module + a default templateAdam
2012-02-18Use C++11's explicit override feature if availableAdam
2012-02-16Fixed FreeBSD buildAdam