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

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

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

branches/b-identity-0505/dum/test/testIdentity.cxx revision 4564 by greg, Mon May 9 23:57:12 2005 UTC main/sip/resiprocate/dum/test/testIdentity.cxx revision 4601 by derek, Thu May 12 01:10:49 2005 UTC
# Line 137  Line 137 
137     bool first = true;     bool first = true;
138     NameAddr userAor(argv[1]);     NameAddr userAor(argv[1]);
139     Data passwd(argv[2]);     Data passwd(argv[2]);
    int port = 25060;  
140    
141     InfoLog(<< "user: " << userAor << ", passwd: " << passwd << "\n");     InfoLog(<< "user: " << userAor << ", passwd: " << passwd << "\n");
142    
# Line 157  Line 156 
156    
157     SipStack clientStack(security);     SipStack clientStack(security);
158     DialogUsageManager clientDum(clientStack);     DialogUsageManager clientDum(clientStack);
159     clientDum.addTransport(UDP, port);     clientDum.addTransport(UDP, 10000 + rand()&0x7fff);
160    
161     MasterProfile clientProfile;       MasterProfile clientProfile;  
162     auto_ptr<ClientAuthManager> clientAuth(new ClientAuthManager());       auto_ptr<ClientAuthManager> clientAuth(new ClientAuthManager());  
# Line 186  Line 185 
185     InfoLog( << regMessage << "Generated register: " << endl << regMessage );     InfoLog( << regMessage << "Generated register: " << endl << regMessage );
186     clientDum.send( regMessage );     clientDum.send( regMessage );
187    
    int n = 0;  
           
188     while (!clientHandler.isEnded() || !clientHandler.isRcvd() )     while (!clientHandler.isEnded() || !clientHandler.isRcvd() )
189     {     {
190        FdSet fdset;        FdSet fdset;

Legend:
Removed from v.4564  
changed lines
  Added in v.4601

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27