[Freeswitch-users] socket2me questions

Tamas Cseke cstomi.levlist at gmail.com
Tue Jun 5 07:21:40 PDT 2007


Hello,

I can't build socket2me http://pastebin.freeswitch.org/3015

i installed this package
ii  libspandsp-dev                             
0.0.2pre26-1                               Telephony signal processing 
library

and i see t30_stats_s has really no these members.
should i install other version of spandsp-dev, or have you any idea?

other:
   i am trying to understand what the code do, and dont understand what 
is the purpose of local and remote ip.

   addr.sin_family = AF_INET;
   addr.sin_addr.s_addr = htonl(INADDR_ANY);
   sendaddr.sin_addr.s_addr = inet_addr(remote_ip);
   addr.sin_port = htons(remote_port);

   sendaddr.sin_family = AF_INET;
   sendaddr.sin_addr.s_addr = inet_addr(local_ip);
   sendaddr.sin_port = htons(local_port);

   sendaddr.sin_addr.s_addr is assigned twice...is it a typo?

Thanks any help,
Tamas





More information about the FreeSWITCH-users mailing list