Skip to main content

Name

protocol_string_uc — Returns a protocol string in uppercase

Synopsis

#include "message.h"

| const char * **protocol_string_uc** ( | p_num); |   |

int<var class="pdparam">p_num</var>;

Description

Returns a protocol string in uppercase.

A sample call:

proto = protocol_string_uc(mess->recv_method);

Parameters

p_num

A protocol number.

Return Value

This function returns the string version of a protocol such as ESMTP, REST, or SMPP,

Threading

It is legal to call this function in any thread.

Was this page helpful?