메소드 |
설명 |
|
GetIPEndPoint ( string IPSocket ) : IPEndPoint |
Returns an IPv4 end point from a socket address in 10.0.0.1:5060 format. |
|
GetSocketString ( IPEndPoint endPoint ) : string |
|
|
IsIPAddress ( string socket ) : bool |
|
|
IsIPSocket ( string socket ) : bool |
|
|
IsPrivateAddress ( string host ) : bool |
Checks the Contact SIP URI host and if it is recognised as a private address it is replaced with the socket the SIP message was received on. Private address space blocks RFC 1597. 10.0.0.0 - 10.255.255.255 172.16.0.0 - 172.31.255.255 192.168.0.0 - 192.168.255.255 |
|
ParseHostFromSocket ( string socket ) : string |
|
|
ParsePortFromSocket ( string socket ) : int |
|
|
ParseSocketString ( string socket ) : IPEndPoint |
|
|
ParseSocketString ( string socket, string &host, int &port ) : void |
|
|