Show
Ignore:
Timestamp:
10/03/09 18:48:33 (15 years ago)
Author:
bhilburn
Message:

Numerous changes. A VTCROSS shell can now be remote relative to the radio host platform. The remote server/port is set through a new function in libvtcross, which has also been added as an option to the benchmark_dsa script. Other changes include bug fixes in the benchmark code and some SQL fixes.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • vtcross/trunk/src/lib/socketcomm/socketcomm.cpp

    r411 r498  
    8585    server = gethostbyname(serverName); 
    8686    if(server == NULL) 
    87         ERROR(1, "No server found by that hostname.\n"); 
     87        ERROR(1, "SocketComm::ClientSocket - No server found by that hostname.\n"); 
    8888 
    8989    portNumber = atoi(serverPort); 
     
    9191    socketFD = socket(AF_INET, SOCK_STREAM, 0); 
    9292    if(socketFD < 0)  
    93         ERROR(1, "Error opening socket\n"); 
     93        ERROR(1, "SocketComm::ClientSocket - Error opening socket\n"); 
    9494 
    9595    memset((void *) &serv_addr, 0, sizeof(serv_addr)); 
     
    100100 
    101101    if(connect(socketFD, (struct sockaddr *) &serv_addr, sizeof(serv_addr)) < 0)  
    102         ERROR(1, "Error connecting to remote socket.\n"); 
     102        ERROR(1, "SocketComm::ClientSocket - Error connecting to remote socket.\n"); 
    103103 
    104104    return socketFD;