Posts

Showing posts from 2011

Passing variable number of arguments to a C/C++ function like printf().

Image
Introduction Many of us might have wondered at sometime or the other about how to pass a  variable  number of arguments to C++ functions : something like a  printf  function. I don't know how many are aware of this, so I decided to post an article on this topic. Background When a function is declared, the data-type and number of the passed arguments are usually fixed at compile time. But sometimes we require a function that is able to accept a variable number of arguments. The data-type and/or number of the passed arguments are provided at the run-time. Through this article, I will try to show you how to create a C function that can accept a variable number of arguments. The secret to passing variable number and type of arguments is the   stdarg   library. It provides the va_list data-type, which can contain the list of arguments passed into a function. The   stdarg  library also provides several macros :   var_arg ,  va_start , and   va_end   that are useful for mani

Best Perl Document For Freshers

Hi Everyone,                       After many hours of browsing in Internet, searching for the Short-cum-Best Document of Perl. At last i got one Document which i will be sharing with you all. If you are new to Perl and searching for a Short-cum-best Document, then this is the one. The Best comprehensive Document about Perl i have come across, it is just 25 pages and the very good thing is, it covers all the basic concepts of Perl. https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0Bz7eXe9Jx0skOGJiYWE2ZjEtNDQ3Mi00MzQ4LWE5OGItMTAyODQ5YWVlMGZh&hl=en&authkey=CIfRztYE

Signalling System #7(SS7) Protocol.

Image
            Signaling System No. 7 ( SS7 ) is a set of telephony signaling protocols which are used to set up most of the world's public switched telephone network telephone calls. The main purpose is to set up and tear down telephone calls. Other uses include number translation, prepaid billing mechanisms, short message service (SMS), and a variety of other mass market services. SS5 and earlier systems used in-band signaling(In telecommunications, In-band signaling is the sending of metadata and control information in the same band, on the same channel, as used for data.). SS6 and SS7 implement out-of-band (out-of-band control signaling, signaling bits are sent in special order in a dedicated signaling frame.) signaling protocols.         The term signaling , when used in telephony, refers to the exchange of control information associated with the establishment of a telephone call on a telecommunications circuit. An example of this control information is the digits dialed by t