Method |
Description |
|
CallRoute ( ) : string |
Calls the operating system command 'route print' to obtain the IP routing information. |
|
CallShellCommand ( string command, string commandLine ) : string |
|
|
CreateRandomUDPListener ( IPAddress localAddress, IPEndPoint &localEndPoint ) : UdpClient |
|
|
CreateRandomUDPListener ( IPAddress localAddress, int start, int end, ArrayList inUsePorts, IPEndPoint &localEndPoint ) : UdpClient |
|
|
CreateRtpSocket ( IPAddress localAddress, int startPort, int endPort, bool createControlSocket, Socket &rtpSocket, Socket &controlSocket ) : void |
|
|
GetDefaultGateway ( ) : IPAddress |
Extracts the default gateway from the route print command |
|
GetDefaultIPAddress ( IPAddress defaultGateway ) : IPAddress |
Attempts to get the local IP address that is being used with the default gateway and is therefore the one being used to connect to the internet. |
|