[SR-Users] $fs syntax

Juha Heinanen jh at tutpro.com
Wed Oct 17 16:34:36 CEST 2012


Daniel-Constantin Mierla writes:

> > $fs - reference to the forced socket for message sending (if any) in the
> > form proto:ip:port
> >
> > should it be [proto:]ip:port instead?
> why, isn't the proto always in the value of $fs?

i have been using this kind of calls without any problems:

    force_send_socket(EXTERNAL_IP:EXTERNAL_PORT);

is that is equivalent to

    $fs = "EXTERNAL_IP:EXTERNAL_PORT";

if yes, then proto is optional.

-- juha



More information about the sr-users mailing list