Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

SyslogClient.ConnectAsync Method

Namespace: Rebex.Net
Assembly: Rebex.Syslog.dll (version 7.0.9147)

ConnectAsync(String, Int32, SyslogTransportProtocol)

Connects the client to the specified syslog server.

Declaration
public Task ConnectAsync(string serverName, int port, SyslogTransportProtocol protocol)
Parameters
Type Name Description
String serverName

The server address - either a hostname or a dotted string address.

Int32 port

The server port (e.g. 514).

SyslogTransportProtocol protocol

The transport layer protocol to use.

Returns
Type Description
Task
In This Article
  • ConnectAsync(String, Int32, SyslogTransportProtocol)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies