NAME

Net::SMPP - pure Perl implementation of SMPP 3.4 over TCP

SYNOPSIS

  use Net::SMPP;
  $smpp = new Net::SMPP($host, port=>$port,
			system_id => 'yourusername',
			password  => 'secret',
			) or die;

DESCRIPTION

Implements Short Message Peer to Peer protocol, which is frequently used to pass short messages between mobile operators implementing short message service (SMS). This is applicable to both europena GSM and american CDMA systems.

Despite its name, SMPP protocol defines a client and server (often called SMSC in the mobile operator world). Client always initiates the TCP connection and does bind to log in. After binding, a series of request response pairs, called PDUs (protocol data units) is exchanged. Request can be initiated by either end (hence "peer-to-peer"?) and the other end reponds. Requests are numbered with a sequence number and each response has corresponding sequence number. This allows several requests to be pending at the same time. Conceptually this is similar to IMAP.

Typical client:

use Net:SMPP;
$smpp = new Net::SMPP('smsc.foo.net', Port=>2255) or die;
***

Typical server, run from inetd:

***

EXPORT

None by default.

AUTHOR

Sampo Kellomaki <sampo@iki.fi>

SEE ALSO

www.smpp.org Short Message Peer to Peer Protocol Specification v3.4, 12-Oct-1999, Issue 1.2 perl(1).