Hi there,
In order to get the remote tcp port from a NEAppProxyTCPFlow, what I did is:
But I do not think that is a good way of achieving it.
Is there any proper way for it?
And I believe the ip address can be fetched by:
Is that right?
Thanks in advance for any suggestion.
In order to get the remote tcp port from a NEAppProxyTCPFlow, what I did is:
Code Block (NEAppProxyTCPFlow as! NWHostEndpoint).port
But I do not think that is a good way of achieving it.
Is there any proper way for it?
And I believe the ip address can be fetched by:
Code Block NEAppProxyTCPFlow.remoteHostName
Is that right?
Thanks in advance for any suggestion.