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.