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

Is there a way to get device Address with ipv4 format ? #52

Open
hhj0988a opened this issue Jul 25, 2022 · 2 comments
Open

Is there a way to get device Address with ipv4 format ? #52

hhj0988a opened this issue Jul 25, 2022 · 2 comments

Comments

@hhj0988a
Copy link

Hi I am making project with android tab that will communicate via tcp-socket through wifi-internet.
So I used this module to get all devices list in same wifi-network that I can connect to.
But it returns only mac addresses. Tcp library that i am using allows only ipv4 format address.
Is there any way to get device Address with ipv4 format ?

@kirillzyusko
Copy link
Owner

Hi @hhj0988a

Can't you retrieve ip address using react-native-device-info and send it afterwards to group owner?

@hhj0988a
Copy link
Author

Thank you for your fast answer ^^ i'll try right now

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

2 participants