Commit Graph

34 Commits (85dde7b6b08a7b0ce22939ef116402394b3a7c91)

Author SHA1 Message Date
Michael 85dde7b6b0
Move remaining include/llarp headers to llarp/ 6 years ago
Michael f51384f92e
Move address_info.hpp to llarp/ 6 years ago
Jeff Becker a59343cfec
we NEED NT >= 6 for event loop 6 years ago
Jeff Becker b23dab09fb
don't overwrite our RC, hide parameter. 6 years ago
Jeff Becker 085563ac2f
implement utp link protocol
gut curvecp for now
6 years ago
Jeff Becker 4e693a2414
make signatures work again ;~; 6 years ago
Jeff Becker 973f86c900
it compiles 6 years ago
Jeff Becker b122fc59f8
refactor (not done) 6 years ago
Jeff Becker 62f41d3747
initial threadpool isolation code and run make format 6 years ago
despair86 9c0b395c67 vs clang format isn't supposed to inject tabs ffs 6 years ago
despair86 bdc54835c2 initial windows server port. Requires Windows 2000 Server or later.
- updated CMake build script
- builds with Microsoft C++ 19.1x. such builds require Windows 8.1 or later
  unless you have the .NET Server 2003-toolset (v141_xp)
- windows port requires a C++17 compiler since cpp17::filesystem is POSIX-only
- HAVE_CXX17_FILESYSTEM manual toggle in CMake. You must manually specify where
  std::[experimental::]filesystem is defined in LDFLAGS or CMAKE_x_LINKER_FLAGS.
- IPv6 support can be added at any time, and the windows sdk still has that
  inline getaddrinfo(3) if it can't find a suitable IPv6 stack.
- inline code for mingw-w64: there's a few bits and pieces still missing simply because
  mingw-w64 derives its windows sdk from wine and reactos, and then writing all the newer
  stuff into it by hand straight from the MSDN manpages.
- misc. C++11 stuff (nullptr and friends)
- Internal file handling code takes UTF-8 or plain 8-bit text, NTFS is UTF-16, so
  std::filesystem::path::c_str() is wchar_t. That's no good unless you first
  call std::filesystem::path::string().
- implemented getifaddrs(3) and if_nametoindex(3) on top of GetAdapters[Info|Addresses](2).
- updated readme with new info

BONUS: may implement Solaris/illumos IOCP someday...

-despair86
6 years ago
Jeff Becker 28f6a76312 remove unused encoding functions 6 years ago
sachaaaaa c7940076bf Remove most of the extern "C"
remove extern "C"
6 years ago
Jeff Becker 4ca34995bf
add inbound server connections to DHT 6 years ago
Jeff Becker 43bf2c3dbb
verify authenticity of iwp session (initial) 6 years ago
Jeff Becker a8ab66f4f8
refactor to use AlignedBuffer for public key, shared secret, nonce, secret key etc 6 years ago
Jeff Becker 9816fd65e9
* logging refactor to be concise
* don't inline bencode

* refactor initial start of dht code a bit
6 years ago
Jeff Becker fe19314484
more stuff 6 years ago
Jeff Becker 39b1714f27
add minimal logger
move some printf to use logger

remove warnings from bencode.h
6 years ago
Jeff Becker 93f0e03958
handle inter node messages
currently only handling LIM
6 years ago
Jeff Becker c2ef57d9a2
Merge remote-tracking branch 'ryan/master' 6 years ago
Jeff Becker 4929bf0da8
fix with gcc and use default c++ compiler 6 years ago
Jeff Becker b2a9605745
it does stuff :DDDDDDDD 6 years ago
Ryan Tharp 9ea9a6b527 fix struct declaration to make gcc 7.3 happy 6 years ago
Jeff Becker d8631bb2b5
fix leaks 6 years ago
Jeff Becker 71c34231b2
Merge remote-tracking branch 'ryan/master' 6 years ago
Jeff Becker bc9e32d690
clang format and lots of stupid bug fixes 6 years ago
Jeff Becker 8c2bbbb2eb
more 6 years ago
Jeff Becker dcc5e6e348
more 6 years ago
Jeff Becker 58247343bf
format 6 years ago
Jeff Becker 1fdfdc0244
more 6 years ago
Jeff Becker ae76b6b376
google format 6 years ago
Jeff Becker de3ddbb93e
clang-format 6 years ago
Jeff Becker b7d4499f43
more 6 years ago