Sets the socket factory to be used to create communication sockets.

Namespace:  Rebex.Net
Assembly:  Rebex.Smtp (in Rebex.Smtp.dll)

Syntax

Visual Basic
Public Sub SetSocketFactory ( _
	factory As ISocketFactory _
)
C#
public void SetSocketFactory(
	ISocketFactory factory
)

Parameters

factory
Type: Rebex.Net..::..ISocketFactory
Socket factory.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also