/[resiprocate]/main/resip/dum/test/testSMIMEInvite.cxx
ViewVC logotype

Diff of /main/resip/dum/test/testSMIMEInvite.cxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 8437 by adam, Wed Mar 4 23:47:10 2009 UTC revision 8838 by sgodin, Sat Oct 30 00:28:04 2010 UTC
# Line 251  Line 251 
251     SipStack clientStack(security);     SipStack clientStack(security);
252     DialogUsageManager clientDum(clientStack);     DialogUsageManager clientDum(clientStack);
253     srand(time(NULL));     srand(time(NULL));
254     clientDum.addTransport(UDP, 10000 + rand()&0x7fff, V4);     clientDum.addTransport(UDP, 0, V4);
255     clientDum.addTransport(TCP, 10000 + rand()&0x7fff, V4);     clientDum.addTransport(TCP, 0, V4);
256     clientDum.addTransport(TLS, 10000 + rand()&0x7fff, V4);     clientDum.addTransport(TLS, 0, V4);
257  #ifdef USE_IPV6  #ifdef USE_IPV6
258     clientDum.addTransport(UDP, 10000 + rand()&0x7fff, V6);     clientDum.addTransport(UDP, 0, V6);
259     clientDum.addTransport(TCP, 10000 + rand()&0x7fff, V6);     clientDum.addTransport(TCP, 0, V6);
260     clientDum.addTransport(TLS, 10000 + rand()&0x7fff, V6);     clientDum.addTransport(TLS, 0, V6);
261  #endif  #endif
262    
263     SharedPtr<MasterProfile> clientProfile(new MasterProfile);       SharedPtr<MasterProfile> clientProfile(new MasterProfile);  
# Line 279  Line 279 
279     //set up UAS     //set up UAS
280     SipStack serverStack(security);     SipStack serverStack(security);
281     DialogUsageManager serverDum(serverStack);     DialogUsageManager serverDum(serverStack);
282     //serverDum.addTransport(UDP, 10000 + rand()&0x7fff, V4);     //serverDum.addTransport(UDP, 0, V4);
283     serverDum.addTransport(TCP, 10000 + rand()&0x7fff, V4);     serverDum.addTransport(TCP, 0, V4);
284     //serverDum.addTransport(TLS, 10000 + rand()&0x7fff, V4);     //serverDum.addTransport(TLS, 0, V4);
285    
286     SharedPtr<MasterProfile> serverProfile(new MasterProfile);     SharedPtr<MasterProfile> serverProfile(new MasterProfile);
287     std::auto_ptr<ClientAuthManager> serverAuth(new ClientAuthManager);     std::auto_ptr<ClientAuthManager> serverAuth(new ClientAuthManager);

Legend:
Removed from v.8437  
changed lines
  Added in v.8838

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27