Commit Graph

285 Commits (b16a76afbec25c62737f749d94fa251de2d20a08)

Author SHA1 Message Date
Jeff Becker 86ec4dacc3 dht and testnet fixes 6 years ago
sachaaaaa 37aed03df2 use WIN32_LEAN_AND_MEAN project-wise to silent warnings on windows about winsock2.h and windows.h 6 years ago
Jeff Becker a99fa8f6cf try fixing windows cross compile 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 7622f6cef1 dht tweaks 6 years ago
Jeff Becker 6ffa2eed1c fix up dht 6 years ago
Jeff Becker d511057b7d * logging updates
* nicknames in RC (yw kee)

* spec update

* more hidden service code
6 years ago
Jeff Becker bc1c49b092 dht fixes 6 years ago
Jeff Becker d1bbce8192 add uint16/32 put/read on buffers 6 years ago
Jeff Becker 928ec3790d deterministic logging 6 years ago
Jeff Becker 2c652174b9 correct bitmask 6 years ago
Jeff Becker 2e13eac024 make it compile 6 years ago
Jeff Becker 14b27b432e typofix 6 years ago
Jeff Becker 24960ca47b meh 6 years ago
Jeff Becker a8567b0d21 fix previous commit 6 years ago
Jeff Becker 1f29155f43 typofix 6 years ago
Jeff Becker 3ee597d880 update private range 6 years ago
Jeff Becker 28f6a76312 remove unused encoding functions 6 years ago
Jeff Becker 908716aca4 cleanup 6 years ago
Jeff Becker d011fb550e have logic and netio run in same thread for now 6 years ago
Jeff Becker 08b60a9ae7 update code to match protocol spec
backwards incompat change
6 years ago
Jeff Becker f65fee38be fix ffi example 6 years ago
Jeff Becker b1eddbc70f unbreak shared library build 6 years ago
Jeff Becker 07b99e8ac4 extern "C" block for shared library 6 years ago
Jeff Becker 48cfdab63c get rid of wizard and autogenerate configs if not present with sane defaults 6 years ago
Jeff Becker 976ca3015c move iwp server to own source file 6 years ago
Jeff Becker 3570bf7b1a Merge remote-tracking branch 'ryan/master' 6 years ago
Jeff Becker 0f649d844f more 6 years ago
Ryan Tharp bd229be656 handleBaseCmdLineArgs() refactor 6 years ago
Jeff Becker 536f63ed2a better hop selection fault tolerance 6 years ago
Jeff Becker 17ad12cd2c * don't heap allocate llarp_rc
* store rc into network database cache on connect
6 years ago
Jeff Becker 754fb8302d more windows stuff again 6 years ago
Jeff Becker 17e7b063cf typo 6 years ago
Jeff Becker bd5f6e4ece more windows stuff 6 years ago
Jeff Becker f9db26adee add mingw stl threading lib
run make format
6 years ago
Jeff Becker f222f002f4 Merge remote-tracking branch 'loki/master' 6 years ago
Jeff Becker 81b48e660f bump version 6 years ago
Jeff Becker e91f69a0ef * put sequence numbers in routing messages
* more endian crap

* don't tick logic too much
6 years ago
Jeff Becker 14ab05e1ba use locking 6 years ago
Jeff Becker 8553c206cb endian stuff 6 years ago
Jeff Becker 53b80e8448 remove unused code 6 years ago
Jeff Becker a9c92213df more backport 6 years ago
Jeff Becker 066cf537e2 backport 6 years ago
Jeff Becker 62b94b17aa more backport 6 years ago
Jeff Becker 5007da5528 backport 6 years ago
Jeff Becker f695b947f7 more arm fixes 6 years ago
Jeff Becker 03ce826776 change to ms timestamp 6 years ago
Jeff Becker 518578528b UGGGGHHHHH 6 years ago
Jeff Becker 5f5f95849e previous commit 6 years ago
Jeff Becker fe0c76704a try making android compile 6 years ago