![Collapse image Collapse image](collapse_all.gif)
![Expand Image Expand Image](expand_all.gif)
![](collapse_all.gif)
![](expand_all.gif)
![](dropdown.gif)
![](dropdownHover.gif)
![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
![]() ![]() |
Lidgren Network Library documentation |
NetUtility..::..Resolve Method (String, Int32) |
NetUtility Class See Also Send Feedback |
Get IPv4 endpoint from notation (xxx.xxx.xxx.xxx) or hostname and port number
Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)
Syntax
C# |
---|
public static IPEndPoint Resolve( string ipOrHost, int port ) |
Visual Basic |
---|
Public Shared Function Resolve ( _ ipOrHost As String, _ port As Integer _ ) As IPEndPoint |
Visual C++ |
---|
public: static IPEndPoint^ Resolve( String^ ipOrHost, int port ) |
Parameters
- ipOrHost
- Type: System..::..String
[Missing <param name="ipOrHost"/> documentation for "M:Lidgren.Network.NetUtility.Resolve(System.String,System.Int32)"]
- port
- Type: System..::..Int32
[Missing <param name="port"/> documentation for "M:Lidgren.Network.NetUtility.Resolve(System.String,System.Int32)"]
Return Value
[Missing <returns> documentation for "M:Lidgren.Network.NetUtility.Resolve(System.String,System.Int32)"]