Click or drag to resize
AsyncSyslogTcpSenderBaseConnectAsync Method (String, Int32)
Connects to the remote host.

Namespace: SyslogNet.Client.Transport
Assembly: SyslogNet.Client.Transport (in SyslogNet.Client.Transport.dll) Version: 0.4.0.0
Syntax
protected override Task ConnectAsync(
	string hostname,
	int port
)

Parameters

hostname
Type: SystemString
Host name.
port
Type: SystemInt32
Port number.

Return Value

Type: Task
Asynchronous task.
See Also