Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binary compiled for windows. #33

Open
dcapeletti opened this issue Dec 24, 2016 · 3 comments
Open

Binary compiled for windows. #33

dcapeletti opened this issue Dec 24, 2016 · 3 comments

Comments

@dcapeletti
Copy link

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
Copy link
Owner

gjedeer commented Dec 24, 2016 via email

@dcapeletti
Copy link
Author

dcapeletti commented Dec 24, 2016

Please leave this issue open for others to see. I'll share the problem on the networks to see if I can get support.
#11

@gjedeer
Copy link
Owner

gjedeer commented Nov 17, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants