ServerSocket.NetworkInterface

From Xojo Documentation

Property (As NetworkInterface )
aServerSocket.NetworkInterface = newNetworkInterfaceValue
or
NetworkInterfaceValue = aServerSocket.NetworkInterface

Supported for all project types and targets.

The NetworkInterface that the ServerSocket is bound to.

Examples

See the examples for the NetworkInterface. This example gets the IPAddress that is being used.

If mServerSocket.IsListening Then
MessageBox(mServerSocket.NetworkInterface.IPAddress)
Else
MessageBox("Not listening")
End If