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

[reSIProcate] Getting up and going with testClient and testServer


I’m new to reSIProcate.  I would just like to get a basic client/server communication going to step through the messaging and ultimately the TLS portion of the code.  I found the testServer and testClient apps and am trying to get them to communicate between two machines.

 

I simply can’t find the doc that describes what arguments to pass to these apps.  My unfamiliarity with the URI constructs is the larger problem.

 

For the server, I am just doing “testServer 0 1 TCP” to get it up and going.  I’m not confident of this because the trace mentions binding to 0.0.0.0.  Here is the trace:

 

DEBUG | 20041026-164127.294 | chaos | testServer | SIP | 9600 | 1077044384 | Security.cxx:78 | Setting up SSL library

DEBUG | 20041026-164127.302 | chaos | testServer | TRANSPORT | 9600 | 1077044384 | Transport.cxx:86 | Creating fd=3 V4/TCP

DEBUG | 20041026-164127.302 | chaos | testServer | TRANSPORT | 9600 | 1077044384 | TcpBaseTransport.cxx:27 | Opening TCP 3 : 0x8198660

DEBUG | 20041026-164127.302 | chaos | testServer | TRANSPORT | 9600 | 1077044384 | Transport.cxx:94 | Binding to 0.0.0.0

INFO | 20041026-164127.303 | chaos | testServer | TRANSPORT | 9600 | 1077044384 | TransportSelector.cxx:112 | Adding transport: [ V4 0.0.0.0:5070 , TCP ,transport=0 ,connectionId=0 ]

INFO | 20041026-164127.303 | chaos | testServer | TEST | 9600 | 1085439280 | testServer.cxx:38 | This is the Server

 

 

For the client I am having trouble setting the ‘target’ parameter that presumably sets up the server’s identity.  I’ve played around with a lot of different URI formats, but I haven’t found one that will connect to the server.

 

Does anybody have sample command lines for testServer and testClient?

 

Thanks,

Bryan