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

Windows XP build. #219

Open
EDSln opened this issue Oct 27, 2024 · 5 comments
Open

Windows XP build. #219

EDSln opened this issue Oct 27, 2024 · 5 comments

Comments

@EDSln
Copy link

EDSln commented Oct 27, 2024

Is it possible to add it? If not, why not?

@vehametra
Copy link

Скорее всего это возможно, но MSDN запутал меня в данном вопросе.
На SP2 и выше сборка выглядит вполне возможной!

Should be possible, but there may be differences between different SP! Compilation looks easy, there are very few imports, and the build tools are quite classic.

#include <strings.h>

#ifdef _WIN32
    #include <winsock2.h>
#else
    #include <arpa/inet.h>
#endif

Version 2.1 of Winsock was supplied in an add-on package for Windows 95. It was an integral component of Windows 98, Windows NT 4.0, and all subsequent Windows releases. (Microsoft did not supply implementations of Winsock 2 for Windows 3.x or Windows NT 3.x.)
Recent versions of Winsock 2.x have been delivered with new Windows releases or as part of service packs.

@antyvir
Copy link

antyvir commented Dec 16, 2024

Hello.
If anyone knows how to compile, please compile the exe file for windows xp x86 without SSE2 instructions. I will be very grateful. Or maybe there are some analogues for this operating system?

@spvkgn
Copy link

spvkgn commented Dec 23, 2024

Is it possible to add it? If not, why not?

byedpi/conev.h

Line 13 in fdb91ec

#define poll(fds, cnt, to) WSAPoll(fds, cnt, to)

The WSAPoll function is defined on Windows Vista and later.

@spvkgn
Copy link

spvkgn commented Dec 23, 2024

As a workaroud, it is possible to compile and run byedpi on Cygwin installed on WIndows XP.

  • install Cygwin 2.5.2 on XP as described on cygwin.com:
    setup-x86.exe --no-verify --allow-unsupported-windows --site http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/circa/2016/08/30/104223
  • compile from source with GCC from Cygwin or get pre-compiled using GH Actions byedpi-x86-cygwin.zip and copy ciadpi.exe to C:\cygwin\bin.

Now you can run ciadpi from Cygwin bash shell.

Screenshot

byedpi-cygwin

@EDSln
Copy link
Author

EDSln commented Dec 29, 2024

As a workaroud, it is possible to compile and run byedpi on Cygwin installed on WIndows XP.

Thanks for the build. There is a remark, parameters: timeout, fake, ttl, tls-sni do not work.

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

No branches or pull requests

4 participants