Click or drag to resize
BroccoliSharp BroConnection Constructor (TcpListener, BroConnectionFlags)
Creates a new server-based BroConnection using the existing tcpListener.

Namespace: BroccoliSharp
Assembly: BroccoliSharp (in BroccoliSharp.dll) Version: 1.0.5434.15853
Syntax
public BroConnection(
	TcpListener tcpListener,
	BroConnectionFlags flags = BroConnectionFlags.None
)

Parameters

tcpListener
Type: System.Net.SocketsTcpListener
Existing open TCP listener to use for BroConnection.
flags (Optional)
Type: BroccoliSharpBroConnectionFlags
Connection flags for this BroConnection.
Exceptions
ExceptionCondition
ArgumentNullExceptiontcpListener is null.
OutOfMemoryExceptionFailed to create Bro connection.
See Also