Creates an instance of DnsEndPoint.
Namespace:
Rebex.Net
Assembly:
Rebex.Networking (in Rebex.Networking.dll)
Syntax
Visual Basic |
---|
Public Sub New ( _ host As String, _ port As Integer _ ) |
C# |
---|
public DnsEndPoint( string host, int port ) |
Parameters
- host
- Type: System..::..String
Host name.
- port
- Type: System..::..Int32
Port.