Ignore:
Timestamp:
28/03/2008 22:59:28 (4 years ago)
Author:
chris
Message:

Allow configuration of the server port that the client will connect to
(bbackupd and bbackupquery).

Redesign ConfigurationVerify? to use classes instead of structs.

Use port 22011 instead of 2201 during tests, to reduce the chances of
conflicting with a running bbstored or other process.

Ignore autogen_* in svn:ignore everywhere instead of individual per-file
ignores.

Location:
box/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • box/trunk

    • Property svn:ignore
      •  

        old new  
        1111release 
        1212runtest.pl 
         13.hg 
  • box/trunk/bin/bbackupd

    • Property svn:ignore
      •  

        old new  
        11Makefile 
        22bbackupd-config 
         3autogen_* 
  • box/trunk/bin/bbackupd/BackupClientContext.cpp

    r2115 r2116  
    4545        TLSContext &rTLSContext,  
    4646        const std::string &rHostname, 
     47        int Port, 
    4748        int32_t AccountNumber,  
    4849        bool ExtendedLogging, 
     
    5354          mrTLSContext(rTLSContext), 
    5455          mHostname(rHostname), 
     56          mPort(Port), 
    5557          mAccountNumber(AccountNumber), 
    5658          mpSocket(0), 
     
    130132 
    131133                // Connect! 
    132                 mpSocket->Open(mrTLSContext, Socket::TypeINET, mHostname.c_str(), BOX_PORT_BBSTORED); 
     134                mpSocket->Open(mrTLSContext, Socket::TypeINET, 
     135                        mHostname.c_str(), mPort); 
    133136                 
    134137                // And create a procotol object 
Note: See TracChangeset for help on using the changeset viewer.