< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate] Appliction Specific TCP Socket


hi Ali,
  ahh, i'm sorry. :P

  i think you can use soap or xml-rpc or ICE(www.zeroc.com). and if you need transport some binary data with simple way, can use Netxx library.
 If you does not like to use some exist libray, this article may be help with you.

 http://www.cs.rpi.edu/courses/sysprog/sockets/sock.html

  sincerely,
  jinti

2006/10/19, Ali Pey < alipey@xxxxxxxxx>:
Hi Shen,

Thank you for your email.

The thing is I don't need the TCP transport for sip messages. I need this to send and receive my specific messages not sip or any other protocol.

For instance I need to send a command over TCP to another application and it looks like this:

struct command
{
   int       msgId;
   int       srcApp;
   int       destApp;
   int       command;
   etc...
}

How would I send and receive this over a TCP socket?

I'm trying to do this for interprocess communication that would work for different platforms. Is there a better way for interprocess communication that is platform independent?

Thanks,
Ali



On 10/18/06, shen jinti < jinti.shen@xxxxxxxxx> wrote:
hi Ali,

   resip can use TCP transport.
   you can try it,


   SipStack stackUac;
   DialogUsageManager* dumUac = new DialogUsageManager(stackUac);
   dumUac->addTransport(TCP, 12005);

   that mean you will listen a tcp port with 12005. and can send tcp package to you machine with tcp 12005 for somebody.

   sincerely,
   jinti

2006/10/18, Ali Pey < alipey@xxxxxxxxx>:
Hi All,

I need to add a TCP Socket to resiprocate/dum to be used solely for application specific messaging. Basically I need to send and receive TCP packets for some internal app to app communication.

Can someone shed some light on what I need to do?

Is there an easy way to do this with DUM?

Thanks,
Ali



_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxxxxxx
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel