gjedeer / tuntox

Tunnel TCP connections over the Tox protocol
https://gdr.name/tuntox/
Other
343 stars 57 forks source link

Binary compiled for windows. #33

Open dcapeletti opened 7 years ago

dcapeletti commented 7 years ago

Hello, It would be interesting to have a binary compiled for Windows or write to the wiki as compile for windows, especially for server mode. Thanks

gjedeer commented 7 years ago

There was a closed issue about this. I tried and failed, nobody else bothered. There is an exe file attached to the other issue which works but crashes sometimes.

On December 24, 2016 7:01:07 PM CET, Diego Ariel Capeletti notifications@github.com wrote:

Hello, It would be interesting to have a binary compiled for Windows or write to the wiki as compile for windows, especially for server mode. Thanks

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/gjedeer/tuntox/issues/33

-- Sent from my Android device with K-9 Mail. Please excuse my brevity.

dcapeletti commented 7 years ago

Please leave this issue open for others to see. I'll share the problem on the networks to see if I can get support. https://github.com/gjedeer/tuntox/issues/11

gjedeer commented 5 years ago

I gave it another shot and basically I don't think it's possible without a lot of #ifdefs for switching to Windows sockets API.

In my opinion the best way to port tuntox to non-Unix platforms would be to reimplement it in another programming language such as Python ( https://github.com/TokTok/py-toxcore-c ) or Java ( https://github.com/TokTok/jvm-toxcore-c ). The protocol is very simple and I'll be happy to help anyone who wants to reimplement it.

Especially with Python and its robust data types, the reimplementation shouldn't take more than 500 lines of code. Then, the excellent PyInstaller could be used to create self-sufficient exe files.

EDIT: if someone is looking here, see FAQ: https://github.com/gjedeer/tuntox/blob/master/FAQ.md#can-i-run-it-on-windows