Commit Graph

21 Commits (0de253065e7d22486c459cfe0da8c6b16f9af994)

Author SHA1 Message Date
Rick V 0de253065e
remove ded code
add code for proper DNSc search
5 years ago
despair e9c8cb9977
finally got around to writing a proper event loop for windows
just to be able to read user packets from TAP

split the UDP and TUN listeners into separate event queues

added some notes in tuntap-windows (mostly gutting it since we do a lot of the stuff ourselves)
6 years ago
despair d1cbd58a3f
back to square one
need to be able to queue up a TUN read/write at each tick
then finish dealing with it in the main event loop
which is damn near impossible to do along with unix-style asio
that waits for data to appear/disappear before signalling
6 years ago
despair 551bf0d2bf fix TUN read pkt 6 years ago
despair 65ff1ba991 reading from TUN using native async io:
writing: 
6 years ago
despair 09713adc9f wooo new warnings in clang-7 6 years ago
despair ae616d0fa5 minor fixes
eh

why apple why

why apple why
6 years ago
despair be7ac352ca switch to a simulation of epoll
the native async event system on windows
is _not_ very good at getting external events
(i.e. we receive data, but we don't get any indication
that this ever happened)
6 years ago
despair e18f786ab2 refactor event loop stuff
find some place in the C code to place the worker thread procedure
until such time that michael presents the new thread pool class

fix unix

get a new event port each time and delet in the event loop after use
6 years ago
despair 2a5a0f1577 fix warnings on windows
up next: fix netbsd
6 years ago
despair 561c5228d3 fixed race condition in event loop....dns seems to work now :DDD 6 years ago
despair 5a32ccf220 scan-build fixes on win32 code paths 6 years ago
despair86 9d546cbac4 separate read and write event ports to avoid overwriting queue events 6 years ago
despair86 3c7b7f2176 overlapped io pending is NOT an error 6 years ago
despair86 94c5f46d33 try fixing win32 event loop 6 years ago
despair86 f17727d50a if you are able to keep a windows exit node up for more than a year call me 6 years ago
despair86 363900fce9 set windows TUN to point to internal lokinet resolver 6 years ago
despair86 ca0d09142a Finally put together some skeletal TUN code for NT
up next: debugging the windows client code
stretch goal: prototype hosting a full masternode on Windows Server (still _highly_ experimental when it _does_ appear)
6 years ago
despair86 faf6022288 rip ms c++ 6 years ago
despair86 8ac7d4f6dc if we didn't specify a path to save our config in, only create .lokinet on the assumption that $HOME or $APPDATA (on NT) already exist
add win32 tun glue, fix llarp timebase
(In fact, _both_ of these are guaranteed to exist on their respective platforms.)
also, tuntap is now wired up to the windows port
6 years ago
Ryan Tharp e41ad35c9f include libtuntap 6 years ago