Skip to content
This repository has been archived by the owner on Mar 19, 2022. It is now read-only.

get IP address #192

Open
Jdgmx opened this issue Oct 14, 2020 · 1 comment
Open

get IP address #192

Jdgmx opened this issue Oct 14, 2020 · 1 comment

Comments

@Jdgmx
Copy link

Jdgmx commented Oct 14, 2020

I'm getting a little lost in the NE documentation.
What would be the recommended way to get the IP address that the device gets when connected to the VPN?
Thanks.

@Jdgmx
Copy link
Author

Jdgmx commented Oct 14, 2020

I'm successfully communicating with the network extension in the method
func handleAppMessage(_ messageData: Data, completionHandler: ((Data?) -> Void)?)

But if adapter is my OpenVPNAdapter instance, then in adapter.connectionInformation?.clientIP I'm getting a nil value.
What am I missing?

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

No branches or pull requests

1 participant