Skip to content

Conversation

@peppergrayxyz
Copy link

This follows up on #29

  • works on linux and macos
  • dedicated file (ifdefs are in a single spot)
  • doesn't break the build if feature is unsupported (use stub and return error if used)
  • prints a build message if feature is unsupported

It could be integrated into socksrv.c as well, but #include <netinet/in.h> must be included with _GNU_SOURCE or _DARWIN_C_SOURCE set (depending on the platform) and this doesn't play well with the way the server.h currently works.

References:

@domohawk
Copy link

domohawk commented Jan 9, 2025

+1 for this feature. Saves some script cruft to lookup the device IP.

@bl00dy1837
Copy link

This is cool. Would help me a lot :)
Sad its no merged yet.

@MineTheCube
Copy link

it helped, thanks!

i couldn't get it to work with -b

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

Successfully merging this pull request may close these issues.

4 participants