3 ms·
Great work. Does it work under .NET Core ?
by lossolo 10y ago
Great work. Does it work under .NET Core ?
- jsingleton 10y agoFrom a quick look at the source [0], it looks like it supports Mono. I can't see anything stopping it being ported to Core, apart from JonSkeet.MiscUtil may not support Core. If you package this up as a NuGet package and support Core then can you please ping me and I'll add it to https://anclafs.com https://anclafs.com. [0] https://github.com/cheatdeath/research-bittorrent https://github.com/cheatdeath/research-bittorrent
- nick_ 10y agoI've been prototyping a .NET Core port. JonSkeet.MiscUtil source code is fine for Core, but for the BitTorrent code we need to change the HttpWebRequest objects to HttpClient and rewrite the Begin/End/IAsyncResult/callback-style to async/await.
- jsingleton 10y agoFYI Jon has said to avoid using MiscUtil. https://github.com/jpsingleton/ANCLAFS/issues/6#issuecomment-231041947 https://github.com/jpsingleton/ANCLAFS/issues/6#issuecomment...
- cheatdeath 10y agoI'm not that familiar with .NET Core. It doesn't look like MiscUtil is compatible with it. The executable project has some minor references to Mono.Posix just so it can catch kill signals while running in the Terminal and die gracefully. Both dependencies can be removed quite easily from the project.