summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/Network.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-09-10fixed missing include for FreeBSD. (#4852)SatoKaito1-1/+8
2020-05-15Enable some more clang-tidy linter checks (#4738)peterbell101-1/+1
* Avoid inefficient AString -> c_str() -> AString round trip * Avoid redundant string init expressions * Avoid unnecessary return, continue, etc. * Add .clang-format to help with clang-tidy fix-its * Avoid unnecessary passing by value * Avoid unnecessary local copying * Avoid copying in range-for loops * Avoid over-complicated boolean expressions * Some violations missed by my local clang-tidy * Allow unnecessary continue statements * Add brackets * Another expression missed locally * Move BindingsProcessor call into clang-tidy.sh and add space * Fix pushd not found error * Different grouping of CheckBlockInteractionRate
2018-07-26CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell101-1/+0
Add check for number of empty lines between functions and fix the corresponding failures
2017-07-21Remove smart pointer macrospeterbell101-9/+9
2016-08-22cTCPLink supports TLS out of the box.Mattes D1-0/+33
2015-05-09More style checking.Mattes D1-1/+1
Spaces around some operators are checked.
2015-02-22cNetwork: Added EnumLocalIPAddresses() function.Mattes D1-0/+3
2015-02-20cNetwork: Added UDP API.Mattes D1-1/+77
2015-02-04Exported cServerHandle and cNetwork:Listen to Lua.Mattes D1-0/+3
Also added an example to the NetworkTest plugin.
2015-01-22cNetwork: Renamed callback to OnConnected()Mattes D1-2/+5
2015-01-22cNetwork: Added link creation callback.Mattes D1-3/+15
This allows the callback classes to store the link inside them and use it internally later on, mainly for sending data.
2015-01-22cNetwork: Changed listening API.Mattes D1-6/+12
The link-callbacks for each new accepted link are now received from the OnIncomingConnection listen-callback.
2015-01-22cNetwork: Added error message to error callbacks.Mattes D1-3/+3
2015-01-22cNetwork: Split the main cpp file into several files.Mattes D1-6/+13
2015-01-22cNetwork: Added an OnError callback for listening servers.Mattes D1-0/+3
The callback receives the error details.
2015-01-22cNetwork: Implemented connection shutdown and close.Mattes D1-4/+6
2015-01-22cNetwork: Implemented HostnameToIP lookups.Mattes D1-2/+9
2015-01-22cNetwork: Linux compilation fix.Mattes D1-0/+18
2015-01-22Implemented LibEvent-based client connections.Mattes D1-0/+188