Creates an instance of Daytime class and binds it to the specified DAYTIME server.
Namespace:
Rebex.Net
Assembly:
Rebex.Time (in Rebex.Time.dll)
Syntax
Visual Basic |
---|
Public Sub New ( _ serverName As String, _ serverPort As Integer _ ) |
C# |
---|
public Daytime( string serverName, int serverPort ) |
Parameters
- serverName
- Type: System..::..String
The DAYTIME server hostname.
- serverPort
- Type: System..::..Int32
The DAYTIME server port.