Skip to content
New issue

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

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

Already on GitHub? # to your account

Add an API function to get the IP address for a friend #2421

Open
iphydf opened this issue Nov 13, 2023 · 0 comments
Open

Add an API function to get the IP address for a friend #2421

iphydf opened this issue Nov 13, 2023 · 0 comments
Labels
enhancement New feature for the user, not a new feature for build script P3 Low priority
Milestone

Comments

@iphydf
Copy link
Member

iphydf commented Nov 13, 2023

Toxcore knows this. It would be useful to be able to show this to the users as well, e.g. for debugging or to see whether the tor proxying is working. When connected via TCP relay, we should probably show the TCP relay's address (which is also useful for debugging).

There's no reason not to expose this information other than that it widens the API. We should put it into tox_private.h for now, because we may want to change what that API looks like. Over time, I'd like to see something like a tox_debug.h which has all kinds of insights into toxcore inner details.

@iphydf iphydf added enhancement New feature for the user, not a new feature for build script P3 Low priority labels Nov 13, 2023
@iphydf iphydf added this to the v0.2.x milestone Nov 13, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature for the user, not a new feature for build script P3 Low priority
Projects
None yet
Development

No branches or pull requests

1 participant