SendCommand Method
Will format and send a PDU using the specified command identifier and payload.
Object Oriented Interface
public function doSendCommand($commandid, $payload);
Procedural Interface
ipworks_smpp_do_sendcommand($res, $commandid, $payload);
Remarks
This method offers a way to do more with the class than is directly supported. This method takes a command identifier and a payload, which includes every required and optional field after the header, and will create the 16-byte header for it before sending it to the server. The response PDU is returned both in the PITrail and by this method.