Arad.SMPP by Ammar Heidari

<PackageReference Include="Arad.SMPP" Version="1.0.9" />


public class AradSmppServer : IDisposable
The SMPP server to which an AradSmppClient can be connected.

Gets a list of connected clients

public SslProtocols EnabledSslProtocols { get; set; }

Defines enabled versions of SSL Protocols for SMPP client.

public ILog Logger { get; set; }

public string Name { get; set; }

Name of the server. Used for logging.

public X509Certificate ServerCertificate { get; set; }

Gets or sets server certificate for SSL connection

Occurs when SmppClient bind with server

Occurs when SmppClient sent CANCEL_SM PDU

Validating client certificate.

Occurs when SmppClient is connected

Occurs when SmppClient sent DATA_SM PDU

Occurs when SmppClient is disconnected

Occurs when SmppClient sent ENQUIRE_LINK PDU

Occurs when SmppClient sent GENERIC_NACK PDU

Occurs when MC initiate a SMPP session

Occurs when SmppClient sent QUERY_SM PDU

Occurs when SmppClient sent REPLACE_SM PDU

Occurs when SmppClient sent SUBMIT_MULTI PDU

Occurs when SmppClient sent SUBMIT_SM PDU

Occurs when SmppClient unbind from server

Occurs when server is started

public AradSmppServer(IPEndPoint endPoint)

public void Dispose()

public Task RunAsync(CancellationToken cancellationToken = default)

Runs the SMPP server.

public void Start()

Starts server asynchronously. Call Stop method to stop the server.

public Task Start(CancellationToken cancellationToken)

Starts server. Stops on cancellation token.

public Task StartAsync(CancellationToken cancellationToken = default)

Starts the server asynchronously.

public void Stop()

Stop SMPP server

public Task StopAsync(CancellationToken cancellationToken = default)

Stops the server.